| 查看: 948 | 回复: 0 | ||
[求助]
cfour编译
|
|
请问大家我在编译cfour的时候,在configure完之后出现以下结果,make的话就会出现“transformations.cxx:208:1: error: ‘#pragma’ is not allowed here” 这类的错误。请问怎么解决? checking whether make sets $(make)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gnu make... make checking for ranlib... ranlib checking for a bsd-compatible install... /usr/bin/install -c checking for ld... ld checking for ar... ar checking for strip... strip checking for etags... etags checking for ctags... ctags checking for gcc... gcc checking whether the c compiler works... yes checking for c compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 g++... g++ checking whether we are using the gnu c++ compiler... yes checking whether g++ accepts -g... yes checking whether we are using the gnu fortran compiler... no checking whether ifort accepts -g... no checking for ifort option to support openmp... unsupported checking for gcc option to support openmp... -fopenmp checking for g++ option to support openmp... -fopenmp checking how to run the c preprocessor... gcc -e 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 sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for gnu libc compatible malloc... yes checking for gethostname... yes checking how to get verbose linking output from ifort... configure: warning: compilation failed checking for fortran libraries of ifort... checking for alternate main to link with fortran libraries... main checking size of void *... 8 checking size of int... 4 checking size of long int... 8 checking size of long long int... 8 checking for dummy main to link with fortran libraries... none checking for fortran name-mangling scheme... configure: error: in `/home/lu/software/cfour_v2.00beta': configure: error: cannot compile a simple fortran program see `config.log' for more details |
» 猜你喜欢
光电子赋能·半导体创芯!
已经有0人回复
QE计算电声耦合的时候报错Error in routine lambda (100)wrong or too many modes
已经有2人回复
物理化学论文润色/翻译怎么收费?
已经有244人回复
帮导师招2026CSC博士(巴塞罗那自治大学UAB-CSC博士项目)
已经有25人回复
有没有LIMS客户的资源,求推荐
已经有0人回复
福州大学梁宇航副教授招收2026年申核制博士研究生/硕士研究生(理论计算方向)
已经有21人回复
福州大学梁宇航副教授招收2026年申核制博士研究生/硕士研究生(理论计算方向)
已经有20人回复
深圳理工大学招聘AI4Science与分子模拟方向科研人员
已经有0人回复
九江学院2026年最新高层次人才招聘公告
已经有0人回复
售SC1一区文章,我:4752 5O36,科目齐全
已经有0人回复
售SC1一区文章,我:4752 5O36,科目齐全
已经有0人回复













回复此楼