Closed HuangXiaoKai closed 2 years ago
Intel compilers are not recommended (slower), but I think you need to add the -std=c++11 to the compile options as that file uses some newer features. Also the openmpi version you are using is really old, and the 3.xx versions might be a bit more performant.
Thank you. Problem solved.
Just for reference: Now my environment is:
Currently Loaded Modules:
1) intel-mkl/15 2) compiler/gcc/9.1 3) openmpi/4.0
Also, I modified the makefile
:
#===================================================================
#
# Makefile for VAMPIRE
#
#===================================================================
# Specify compiler for MPI compilation with openmpi
export OMPI_CXX=g++ -std=c++11
...
I tried to compire parallel from source for both
master
anddevelop
branch.I installed them in a school server so the environments are all loaded by
module
as shown below:master
branch has no problem withmake parallel
However, in
develop
branchmake parallel
gives:and then stops.
Can anyone fix this?