当前位置:   article > 正文

python中fac_最强的电脑高手请来-----如何装fac软件,附安装方法说明

python pfac

安装多次均失败,望高手指点具体方法。软件自带说明: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.

展开

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/222425
推荐阅读
相关标签
  

闽ICP备14008679号