感谢支持
我们一直在努力

Ubuntu 安装 SEPlib 一例

SEPlib安装很麻烦,它是太挑了!
我在Ubuntu上安装的情况:

试了很多编译器组合(gcc,icc,gfortran,f95,f77,ifort)都不行,改了很多处代码,还是有问题:
最后选择:
CC=icc 或CC=mpicc(如果需要MPI支持,mpicc修改为icc)
FC=ifort

可改成功了。

icc,ifort版本:Version 11.1

–with-fftw 和 –with-omp我编译不过去。

export CC=mpicc
export FC=ifort

./configure –with-prefix=/home/yiling/programdir/seplib653 –with-local –with-mpi –with-su=/home/yiling/programdir/cwp

------------log文件:如下--------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by seplib configure 6.5.3, which was
generated by GNU Autoconf 2.59.  Invocation command line was

$ ./configure –with-prefix=/home/yiling/programdir/seplib653 –with-local –with-mpi –with-su=/home/yiling/programdir/cwp

## ——— ##
## Platform. ##
## ——— ##

hostname = yilingworkshop
uname -m = i686
uname -r = 2.6.28-17-server
uname -s = Linux
uname -v = #58-Ubuntu SMP Tue Dec 1 19:58:28 UTC 2009

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/intel/Compiler/11.1/064/bin/ia32
PATH: /opt/intel/Compiler/11.1/064/bin/ia32

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /opt/matlab2007/bin
PATH: /opt/real/RealPlayer
PATH: /home/yiling/programdir/cwp/bin
PATH: /home/yiling/programdir/mpiuser/mpich2/bin
PATH: /home/yiling/programdir/seplib653/bin
PATH: /home/yiling/programdir/rsf/bin

PATH: .


ifort编译中有个问题:
编译这个文件时有问题,
super_chain_mod.f90
哑元类型有问题。经过查看相关函数后
在79行处出现哑元不匹配问题。
即chain20()函数的前两个参数类型不匹配(确切地说是,它的前两个参数是函数,这两个函数的输入参数定义不严谨
(这个问题gfortran是能够通过的,但是gfortran对seplib好象有编译顺序有问题)

修改
50行左右,即chain20对应的输入参数的函数定义
logical      :: adj, add,adj_new
改变:
logical,intent(in)       :: adj, add
logical      ::adj_new


其它出错地方类似修改。

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu 安装 SEPlib 一例
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏