|
老师我刚刚去看了下,平台里有4.1.6、4.1.5、3.1.2版本的openmpi,我均试了一边都是一样的报错。至于您说的文件我找到了,但是作为小白看不太明白。我将文件复制如下,您可以帮忙看看吗。万分感谢
CC = /share/apps/oneapi21.4/mpi/2021.4.0/bin/mpiicc
CXX = /share/apps/oneapi21.4/mpi/2021.4.0/bin/mpiicpc
AR = ar -r
FC = /share/apps/oneapi21.4/mpi/2021.4.0/bin/mpiifort
LD = /share/apps/oneapi21.4/mpi/2021.4.0/bin/mpiifort
#
DFLAGS = -D__LIBXSMM -D__parallel -D__MPI_F08 -D__MKL -D__FFTW3 -D__SCALAPACK -D__FFTW3 -D__LIBINT -D__LIBXC -D__COSMA -D__ELPA -D__GSL -D__HDF5 -D__LIBVDWXC -D__SPGLIB -D__LIBVORI -D__SPFFT -D__SPLA -D__SIRIUS
#
WFLAGS =
#
FCDEBFLAGS =
CFLAGS = -cc=icx -fPIC -fp-model=precise -g -qopenmp -qopenmp-simd -traceback -xHost -O2 -funroll-loops $(PROFOPT) -m64 -I/share/apps/oneapi21.4/mkl/2021.4.0/include -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/fftw-3.3.10/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libint-v2.6.0-cp2k-lmax-5/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxc-6.2.2/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxsmm-1.17/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/COSMA-2.6.6/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/include/elpa_openmp-2022.11.001/modules' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/include/elpa_openmp-2022.11.001/elpa' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/gsl-2.7/include' -I/share/package/src/cp2k-2023.2/tools/toolchain/install/hdf5-1.12.0/include -I/share/package/src/cp2k-2023.2/tools/toolchain/install/libvdwxc-0.4.0/include -I/share/package/src/cp2k-2023.2/tools/toolchain/install/spglib-1.16.2/include -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpFFT-1.0.6/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpLA-1.5.5/include/spla' -I/share/package/src/cp2k-2023.2/tools/toolchain/install/sirius-7.4.3/include -std=c11 -Wall $(DFLAGS)
FCFLAGS = -fc=ifort -fPIC -fp-model=precise -g -qopenmp -qopenmp-simd -traceback -xHost -O2 -funroll-loops $(PROFOPT) -m64 -I/share/apps/oneapi21.4/mkl/2021.4.0/include -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/fftw-3.3.10/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libint-v2.6.0-cp2k-lmax-5/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxc-6.2.2/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxsmm-1.17/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/COSMA-2.6.6/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/include/elpa_openmp-2022.11.001/modules' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/include/elpa_openmp-2022.11.001/elpa' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/gsl-2.7/include' -I/share/package/src/cp2k-2023.2/tools/toolchain/install/hdf5-1.12.0/include -I/share/package/src/cp2k-2023.2/tools/toolchain/install/libvdwxc-0.4.0/include -I/share/package/src/cp2k-2023.2/tools/toolchain/install/spglib-1.16.2/include -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpFFT-1.0.6/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpLA-1.5.5/include/spla' -I/share/package/src/cp2k-2023.2/tools/toolchain/install/sirius-7.4.3/include $(FCDEBFLAGS) $(WFLAGS) $(DFLAGS) -diag-disable=8291 -diag-disable=8293 -fpp -fpscomp logicals -free
CXXFLAGS = -cxx=icpx -fPIC -fp-model=precise -g -qopenmp -qopenmp-simd -traceback -xHost -O2 -funroll-loops $(PROFOPT) -m64 -I/share/apps/oneapi21.4/mkl/2021.4.0/include -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/fftw-3.3.10/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libint-v2.6.0-cp2k-lmax-5/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxc-6.2.2/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxsmm-1.17/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/COSMA-2.6.6/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/include/elpa_openmp-2022.11.001/modules' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/include/elpa_openmp-2022.11.001/elpa' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/gsl-2.7/include' -I/share/package/src/cp2k-2023.2/tools/toolchain/install/hdf5-1.12.0/include -I/share/package/src/cp2k-2023.2/tools/toolchain/install/libvdwxc-0.4.0/include -I/share/package/src/cp2k-2023.2/tools/toolchain/install/spglib-1.16.2/include -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpFFT-1.0.6/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpLA-1.5.5/include/spla' -I/share/package/src/cp2k-2023.2/tools/toolchain/install/sirius-7.4.3/include -std=c11 -Wall $(DFLAGS) -fPIC -fp-model=precise -g -qopenmp -qopenmp-simd -traceback -xHost -O2 -funroll-loops $(PROFOPT) -m64 -I/share/apps/oneapi21.4/mkl/2021.4.0/include -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/fftw-3.3.10/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libint-v2.6.0-cp2k-lmax-5/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxc-6.2.2/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxsmm-1.17/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/COSMA-2.6.6/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/include/elpa_openmp-2022.11.001/modules' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/include/elpa_openmp-2022.11.001/elpa' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/gsl-2.7/include' -I/share/package/src/cp2k-2023.2/tools/toolchain/install/hdf5-1.12.0/include -I/share/package/src/cp2k-2023.2/tools/toolchain/install/libvdwxc-0.4.0/include -I/share/package/src/cp2k-2023.2/tools/toolchain/install/spglib-1.16.2/include -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpFFT-1.0.6/include' -I'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpLA-1.5.5/include/spla' -I/share/package/src/cp2k-2023.2/tools/toolchain/install/sirius-7.4.3/include --std=c++14 $(DFLAGS)
#
LDFLAGS = $(FCFLAGS) -Wl,--enable-new-dtags -L'/share/apps/oneapi21.4/mpi/2021.4.0/lib/release' -Wl,-rpath,'/share/apps/oneapi21.4/mpi/2021.4.0/lib/release' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/fftw-3.3.10/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/fftw-3.3.10/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/libint-v2.6.0-cp2k-lmax-5/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxc-6.2.2/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxc-6.2.2/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxsmm-1.17/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/libxsmm-1.17/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/COSMA-2.6.6/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/COSMA-2.6.6/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/elpa-2022.11.001/cpu/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/gsl-2.7/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/gsl-2.7/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/hdf5-1.12.0/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/hdf5-1.12.0/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/libvdwxc-0.4.0/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/libvdwxc-0.4.0/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/spglib-1.16.2/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/spglib-1.16.2/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/libvori-220621/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/libvori-220621/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpFFT-1.0.6/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpFFT-1.0.6/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpLA-1.5.5/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/SpLA-1.5.5/lib' -L'/share/package/src/cp2k-2023.2/tools/toolchain/install/sirius-7.4.3/lib' -Wl,-rpath,'/share/package/src/cp2k-2023.2/tools/toolchain/install/sirius-7.4.3/lib'
LDFLAGS_C = -nofor-main
LIBS = -lsirius -lspla -lspfft -lsymspg -lvdwxc -lhdf5 -lhdf5_hl -lz -lgsl -lelpa_openmp -lcosma_prefixed_pxgemm -lcosma -lcosta -lxsmmf -lxsmm -ldl -lpthread -lxcf03 -lxc -lint2 -lfftw3_mpi -lfftw3 -lfftw3_omp -lmpi -lmpicxx -L/share/apps/oneapi21.4/mkl/2021.4.0/lib/intel64 -Wl,-rpath,/share/apps/oneapi21.4/mkl/2021.4.0/lib/intel64 -lmkl_scalapack_lp64 -Wl,--start-group -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -Wl,--end-group -lpthread -lm -ldl -lvori -lstdc++ -lstdc++
#
# Required due to memory leak that occurs if high optimisations are used
mp2_optimize_ri_basis.o: mp2_optimize_ri_basis.F
$(FC) -c $(subst -O2,-O0,$(FCFLAGS)) $<
# Required due to SEGFAULTS occurring for higher optimisation levels
paw_basis_types.o: paw_basis_types.F
$(FC) -c $(subst -O2,-O1,$(FCFLAGS)) $<
# Reduce compilation time
hfx_contraction_methods.o: hfx_contraction_methods.F
$(FC) -c $(subst -O2,-O1,$(FCFLAGS)) $<
|
|