我想在两台不同的机器上安装这个包。 http://www.2decomp.org/download.html
在我的 Mac 笔记本电脑上,当我使用 Makefile.inc.x86 作为我的 Makefile.inc 并进行制作时,它可以立即运行而没有任何问题。但是在另一台机器上,当我使用相同的 Makefile.inc 文件时,我收到以下错误:
[k00603@fe01p05 src]$make
mpif90 -DDOUBLE_PREC -O3 -fcray-pointer -cpp -c decomp_2d.f90
gfortran: unrecognized option '-cpp'
Warning: decomp_2d.f90:20: Illegal preprocessor directive
Warning: decomp_2d.f90:21: Illegal preprocessor directive
Warning: decomp_2d.f90:22: Illegal preprocessor directive
Warning: decomp_2d.f90:23: Illegal preprocessor directive
-------------------------------------------------------
--- around 50 more lines with the same warning --------
-------------------------------------------------------
In file decomp_2d.f90:32
integer, parameter, public :: ga_real_type = MT_F_DBL
1
Error: Symbol 'mt_f_dbl' at (1) has no IMPLICIT type
In file decomp_2d.f90:33
integer, parameter, public :: ga_complex_type = MT_F_DCPL
1
Error: Symbol 'mt_f_dcpl' at (1) has no IMPLICIT type
In file decomp_2d.f90:36
-------------------------------------------------------
------------ a lot of other errors --------------------
-------------------------------------------------------
它们都是 Linux x86_64 机器。有什么想法可以将其安装在另一台机器上吗?