Issue Compiling NtPoly with intel compilers
ERROR:
$$$/ntpoly-v3.1.0/Source/Fortran/triplet_includes/RedistributeTripletLists.f90:67:21:
61 | CALL MPI_Alltoallv(send_buffer_col, send_per_process, send_offsets, & | 2 ...... 67 | CALL MPI_Alltoallv(send_buffer_val, send_per_process, send_offsets, & | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/INTEGER(4)). $$$/ntpoly-v3.1.0/Source/Fortran/triplet_includes/RedistributeTripletLists.f90:67:21:
67 | CALL MPI_Alltoallv(send_buffer_val, send_per_process, send_offsets, & | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)). make[2]: *** [Source/Fortran/CMakeFiles/NTPoly.dir/build.make:621: Source/Fortran/CMakeFiles/NTPoly.dir/TripletListModule.F90.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:157: Source/Fortran/CMakeFiles/NTPoly.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 *** Error during phase build of ntpoly: ########## Error running make -j 21 *** [6/18]
RCFILE:
This is the configuration file for the BigDFT installer #This is a python script which is executed by the build suite
#Add the condition testing to run tests and includes PyYaml conditions.add("testing") #List the module the this rcfile will build moduleset = 'suite' # 'bigdft' modules = ['spred',] #example of the potentialities of the python syntax in this file def env_configuration(): return """ "FC=mpifort" "CXX=mpiicx" "CC=mpiicx" "FCFLAGS= -qopenmp -Ofast -qmkl=parallel" """ #the following command sets the environment variable to give these settings #to all the modules import os os.environ['BIGDFT_CONFIGURE_FLAGS']=env_configuration() #here follow the configuration instructions for the modules built #we specify the configurations for the modules to customize the options if needed autogenargs = env_configuration() ~