jharno / cubep3m

cosmological n-body code
https://wiki.cita.utoronto.ca/index.php/CubePM
35 stars 11 forks source link

Revise Make_PP_THREADS and timers.f90 for gcc and openmpi #14

Closed wuseyu closed 1 year ago

wuseyu commented 1 year ago

I add some fflags for gcc and openmpi,delete some fflags which can't use under gcc. The file "timers.f90" need to change variable type. Version: The gcc version I am using is 9.3.0, hmpi version is 1.1.1 , openblas version is 0.3.18, fftw version is 2.1.5, hdf5 version is 1.10.1

martin-g commented 1 year ago

I can confirm that this changes make it possible to build cubep3m with GNU toolchain 9.x on both Linux x86_64 and aarch64! For aarch64 I needed to remove -fallow-argument-mismatch though

wuseyu commented 1 year ago

@martin-g Looks good so far