赞
踩
安装多次均失败,望高手指点具体方法。软件自带说明:INSTALL:TherearetwointerfacesavailabletotheFACnumericallib.OnemakesuseofthePythonscriptinglanguage,implementedasapackage...
安装多次均失败,望高手指点具体方法。软件自带说明:
INSTALL:
There are two interfaces available to the FAC numerical lib. One makes use
of the Python scripting language, implemented as a package "pfac".
The other interface uses a simple command parser, compiled into executables.
The two interfaces are independent. Either one or both can be installed.
STEPS:
1) ./configure
Note 1: Specify the option --with-cfortran=xxFortran, if you F77 compiler
is not g77 or sun's f77. see faclib/cfortran.doc for supported F77
compilers.
Note 2: If your C compiler is not gcc, then you need to supply the PIC
(position independent code) option with --enable-cpic=***
If your F77 compiler is not g77, then you need to supply the PIC
option with --enable-fpic=***
Supply the optimization option for C and F77 compilers with
--enable-copt=*** and --enable-fopt=*** respectively if desired.
Note 3: specify --prefix=my/dir, if the default /usr/local is not what you
want. This dir only affects the installation of SFAC executables.
Note 4: some of the functions have a parallel version using MPI. You can build
with MPI enabled using the option --with-mpi=***, where *** is the MPI
implementation installed on your machine. It has been tested with lammpi.
If a different version of MPI is used, you have to supply the compile and
link flags to the C compiler with --with-mpicompile and --with-mpilink.
A modified python interpretor will be built in the python/ dir, which is
called mpy. This interpretor should be used instead of the standard Python
when using the parallel version.
展开
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。