声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 4557|回复: 9

[稳定性与分岔] 软件包AUTO安装求助

[复制链接]
发表于 2008-5-9 00:01 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
各位朋友大家您好!我现在做分岔方面的分析,需要安装分岔分析软件包AUTO,可一直都没有安装成功过。我把我的安装方法唠叨一下,肯请会安装的朋友指出问题所在或者把你的安装过程详细介绍一下,拜托了。
1.在Windows下安装,我参照的是auto的文档,或者下面这个网页。
   http://www.ma.hw.ac.uk/~gabriel/auto07/node8.html
     1) 安装python到d:\python
     2) 安装MSYS到d:\msys
     3) 安装 gfortran 到 d:\gfortran
  然后进入MSYS界面,依次执行下面命令
  gunzip auto07p-0.5.tar.gz
  tar xvfo auto07p-0.5.tar
  path=”/d/python:/d/gfortran/bin:path”
  ./configure            配置最后出现
  It was requested that the plotting utility PLAUT04 be compiled but the proper libraries(Coin3D and SoQt or SoXt or Open Inventor and Open Inventor Xt and perhaps Motif libraries libXm) could not be found. The compilation of PLAUT04 is disabled. AUTO has been configured with support for OpenMp.
  紧接着编译:make. 完后执行 bin目录下的 auto,老提示/home/gaoxj3000/auto/07p/bin:auto: /python/interactiveBindings.py:No such file or directory.
  将环境变量中PATH中加入 d:\python 和 D:\msys\home\gaoxj3000\auto7p\python 等路径,重启后运行依然如此。
2.在Ubuntu终端下安装
   配置时出现
checking for gcc…gcc
checking for C Compiler default output filename configure: C Compiler cannot create executives
我一直用Windows,为了用AUTO才安装了Ubuntu,对其也不怎么熟悉,希望会安装的朋友把您的安装方法介绍一下,帮助小弟度此难关。万分感谢!!!!!!!!!!!!!

[ 本帖最后由 gaoxj3000 于 2008-5-9 00:10 编辑 ]
回复
分享到:

使用道具 举报

发表于 2008-5-9 08:58 | 显示全部楼层
一直以为AUTO只能在UNIX下使用,
是不是现在有Windows版了?
 楼主| 发表于 2008-5-9 10:11 | 显示全部楼层

回复2楼

Auto 是在 Unix/Linux 下运行,不过好像大多数人都用在 Unix 下,它不能在Windows 下直接安装,但据其安装方法,可在类似 Unix 虚拟环境下安装,具体可浏览下面网页。

http://www.ma.hw.ac.uk/~gabriel/auto07/auto.html

不知怎的,我就是无法安装成功!
发表于 2008-5-10 10:58 | 显示全部楼层
我之前也用过,貌似装好了,可是算题的时候就出问题。。后来转向matcont了:lol
发表于 2008-5-11 12:44 | 显示全部楼层

回复 4楼 的帖子

好像auto的一个版本XPP是可以在windows中使用的
 楼主| 发表于 2008-5-12 10:03 | 显示全部楼层

回复4楼“无水”

1. auto的XPP/Xppaut 是可以在windows中使用,但其安装方法也不省心,最重要的是好像功能也限制了不少。这两天对Ubuntu/Linux系统进行了升级后安装,竟出现了和Windows安装同样的提示,auto: /python/interactiveBindings.py:No such file or directory. 可interactiveBindings.py 文件确实在 /home/gaoxj3000/auto/07p/python 目录下,为什么找不到呢。

2. PLAUT04 be compiled but the proper libraries(Coin3D and SoQt or SoXt or Open Inventor and Open Inventor Xt and perhaps Motif libraries libXm) ,我用新立德配置了一下,还是不起作用,倒底如何配置这几个库文件或者在哪下载这些库文件啊,我都快崩溃了,请安装过的朋友帮帮我吧!

[ 本帖最后由 gaoxj3000 于 2008-5-12 10:07 编辑 ]
 楼主| 发表于 2008-5-17 21:34 | 显示全部楼层

最新进展

我下午又安装了一下,
1. 如果 ./configure -enable-gui,则提示
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for Fortran flag to compile .f90 files... none
checking for Fortran flag needed to allow free-form source... none
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran...  -L/usr/lib/gcc/i486-linux-gnu/4.2.3 -L/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.2.3/../../.. -lgfortranbegin -lgfortran -lm
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for OpenMP flag of Fortran compiler... -fopenmp
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XmCreateMainWindow in -lXm... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for coin-config... true
checking for abort in -lCoin... yes
configure: Coin3d OK.
checking for soqt-config... true
configure: Coin3d SoQt OK.   -I/usr/include/Inventor/annex -D_REENTRANT -I/usr/share/qt3/include -DSOQT_DLL -L/usr/lib -L/usr/share/qt3/lib  -lSoQt -lqt-mt -lXmu -lXi -lCoin -lGL -lXext -lSM -lICE -lX11 -ldl -lpthread -lm
checking for moc-qt3... /usr/bin/moc-qt3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating util/Makefile
config.status: creating gui/Makefile
config.status: creating tek2ps/Makefile
config.status: creating plaut/Makefile
config.status: creating plaut04/Makefile
config.status: creating plaut04/src/Makefile
config.status: creating plaut04/src/r3b/Makefile
config.status: creating cmds/cmds.make
config.status: creating cmds/Makefile
config.status: creating gui/auto.makefile
config.status: creating demos/brc/Makefile
config.status: creating demos/brf/Makefile
config.status: creating demos/bru/Makefile
config.status: creating demos/chu/Makefile
config.status: creating demos/cir/Makefile
config.status: creating demos/dd2/Makefile
config.status: creating demos/enz/Makefile
config.status: creating demos/ext/Makefile
config.status: creating demos/fhh/Makefile
config.status: creating demos/frc/Makefile
config.status: creating demos/fsh/Makefile
config.status: creating demos/int/Makefile
config.status: creating demos/ivp/Makefile
config.status: creating demos/kar/Makefile
config.status: creating demos/kpr/Makefile
config.status: creating demos/lin/Makefile
config.status: creating demos/lor/Makefile
config.status: creating demos/mtn/Makefile
config.status: creating demos/nag/Makefile
config.status: creating demos/non/Makefile
config.status: creating demos/obv/Makefile
config.status: creating demos/ops/Makefile
config.status: creating demos/opt/Makefile
config.status: creating demos/pd1/Makefile
config.status: creating demos/pd2/Makefile
config.status: creating demos/pen/Makefile
config.status: creating demos/pla/Makefile
config.status: creating demos/plp/Makefile
config.status: creating demos/ppp/Makefile
config.status: creating demos/pvl/Makefile
config.status: creating demos/rev/Makefile
config.status: creating demos/san/Makefile
config.status: creating demos/she/Makefile
config.status: creating demos/stw/Makefile
config.status: creating demos/tor/Makefile
config.status: creating demos/wav/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
***************************************************
It was requested that the GUI front end be compiled
but the proper X libraries (libX and libXt) and/or
Motif libraries (libXm) could not be found.  The   
compilation of the GUI had been disabled.         
***************************************************
***************************************************
AUTO has been configured with support for OpenMP
***************************************************

个人认为GUI因缺库无法安装成功,但命令行模式则算成功了,
2. make 后gaoxj3000@ubuntu:~/auto/07p$ make
cd ./src;make
make[1]: Entering directory `/home/gaoxj3000/auto/07p/src'
make[1]: Leaving directory `/home/gaoxj3000/auto/07p/src'
cd ./util;make
make[1]: Entering directory `/home/gaoxj3000/auto/07p/util'
make[1]: 没有什么可以做的为 `all'。
make[1]: Leaving directory `/home/gaoxj3000/auto/07p/util'
cd ./plaut;make
make[1]: Entering directory `/home/gaoxj3000/auto/07p/plaut'
make[1]: “../bin/plaut”是最新的。
make[1]: Leaving directory `/home/gaoxj3000/auto/07p/plaut'
cd ./plaut04;make
make[1]: Entering directory `/home/gaoxj3000/auto/07p/plaut04'
cd src && make
make[2]: Entering directory `/home/gaoxj3000/auto/07p/plaut04/src'
make[2]: “../../bin/plaut04”是最新的。
make[2]: Leaving directory `/home/gaoxj3000/auto/07p/plaut04/src'
cd src/r3b && make
make[2]: Entering directory `/home/gaoxj3000/auto/07p/plaut04/src/r3b'
g++ -I../../../plaut04/includes   -I/usr/include/Inventor/annex -D_REENTRANT -I/usr/share/qt3/include -DSOQT_DLL -g -O2  -DUSE_SOQT -DR3B -c printToPS.c++ -o printToPS.o
g++ -I../../../plaut04/includes   -I/usr/include/Inventor/annex -D_REENTRANT -I/usr/share/qt3/include -DSOQT_DLL -g -O2  -DUSE_SOQT -DR3B -c ../gmain.c++ -o gmain.o
g++ -g -O2  -DUSE_SOQT -DR3B -o ../../../bin/r3bplaut04 readBif.o readSol.o drawCoords.o toInertialFrame.o createDisk.o createPrimary.o createLibPoint.o normalizeSolData.o normalizeBifData.o ../stringtrim.o printToPS.o ../tube.o ../polygon3d.o ../readFM.o ../createBoundingBox.o ../createCoords.o ../axis.o createLegend.o gmain.o ../gmainqt.moc.o gmainqt.o ../rounding.o -L/usr/lib -L/usr/share/qt3/lib  -lSoQt -lqt-mt -lXmu -lXi -lCoin -lGL -lXext -lSM -lICE -lX11 -ldl -lpthread -lm
make[2]: Leaving directory `/home/gaoxj3000/auto/07p/plaut04/src/r3b'
make[1]: Leaving directory `/home/gaoxj3000/auto/07p/plaut04'
cd ./tek2ps;make
make[1]: Entering directory `/home/gaoxj3000/auto/07p/tek2ps'
make[1]: 没有什么可以做的为 `all'。
make[1]: Leaving directory `/home/gaoxj3000/auto/07p/tek2ps'

3. 运行 ./bin/auto 提示 gaoxj3000@ubuntu:~/auto/07p$ ./bin/auto
./bin/auto: 10: /python/interactiveBindings.py: not found

问题:
[1] interactiveBindings.py 在 /home/gaoxj3000/auto/07p/python下确实存在却找不到,估计与库搜索路径设置有关,我在 /home/gaoxj3000 下 .bashc 最后一行添加 了路径也不行,请高手指点应该如何设置路径.
[2] libx, libxt, libxm 库可以在哪下载或如何安装

请高手针对问题说明,不是高手请不要乱讲!!!!
发表于 2008-5-19 11:55 | 显示全部楼层

路过

浏览下,大家继续发言。向大家多多学习。
发表于 2008-5-19 19:41 | 显示全部楼层
新手入门   多多学习来的
发表于 2010-7-3 10:07 | 显示全部楼层

回复 7楼 gaoxj3000 的帖子

请问你的问题解决了吗?
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-12-24 07:09 , Processed in 0.078456 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表