24小时热门版块排行榜    

查看: 1638  |  回复: 0

sdwawa

铜虫 (初入文坛)

[求助] abinit8.10.1并行和GPU编译报错

ubuntu系统上安装abinit8.10.1, 显卡是GEforce 1050.

在configure阶段,
./configure --prefix=/opt/abinit-8.10.1 enable_mpi="yes" with_mpi_prefix="/opt/openmpi-3.1.2" enable_gpu="yes" with_gpu_flavor="cuda-double" with_gpu_libs="-L/usr/local/cuda-10.0/lib64 -lcublas -lcufft -lcudart" with_gpu_incs="-I/usr/local/cuda-10.0/include" CC=mpicc CXX=mpicxx FC=mpifort

总是出现错误信息:
==============================================================================
=== Fortran support                                                        ===
==============================================================================

checking whether we are using the GNU Fortran compiler... no
checking whether /home/liyingying/Soft/abinit-8.10.1/config/wrappers/wrap-mpifc accepts -g... no
checking which type of Fortran compiler we have... generic 0.0
checking fortran 90 modules extension...
configure: setting Fortran module extension to ".mod"
checking for Fortran flag to compile .F90 files... unknown
configure: WARNING: Fortran file extension could not be changed
configure: WARNING: some advanced Fortran tests may fail
configure: determining Fortran module case
configure: error: in `/home/liyingying/Soft/abinit-8.10.1':
configure: error: unable to compile a simple Fortran module
See `config.log' for more details

换成FC=ifort 和 mpif90也都是同样的错误。网上还提过要用g95编译器也不行。请问有谁解决过这个问题吗?非常感谢。
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 sdwawa 的主题更新
信息提示
请填处理意见