OrderN / CONQUEST-release

Full public release of large scale and linear scaling DFT code CONQUEST
http://www.order-n.org/
MIT License
94 stars 24 forks source link

Fix order of flags in Makefile #303

Closed tkoskela closed 3 months ago

tkoskela commented 3 months ago

While trying to compile without the mpi compiler wrapper, I noticed that the order of linker flags in the Makefile seems incorrect. According to this stackoverflow thread the reverse order used to work but ceased a while ago.With the order of flags in current develop, I would fail to link the MPI library with gfortran-13 after adding the flags given by mpifort --showme:link to LINKFLAGS in my system.make. Changing to the correct the order fixed my issue.