Skip to content

Conversation

mewall
Copy link
Collaborator

@mewall mewall commented Feb 18, 2022

This change is Reviewable

Copy link
Collaborator

@jeanlucf22 jeanlucf22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally don't like adding specific compiler flags in CMakeList.txt. Modern cmake takes care of that. If you need to change the default chosen by cmake (which I understand may happen), use the "EXTRA" flags. What flags would cmake pick for you on spock and crusher?

@mewall
Copy link
Collaborator Author

mewall commented Feb 18, 2022 via email

@jeanlucf22
Copy link
Collaborator

@mewall Why don't you use EXTRA_FCFLAGS to add "-ef"? IMO all the compiler flags in CMakeList.txt should disappear at some point, so let's not add another one...

BLAS: you should be picking up the one used to build BML (with pkg_check_modules(BML REQUIRED bml) ) and not need to set it up explicitly... That is why we don't have anything about BLAS inCMakeList.txt. Same for Lapack and Magma.

@mewall
Copy link
Collaborator Author

mewall commented Feb 18, 2022 via email

o Also comment out gpmd_dist in examples/CMakeLists.txt, as it doesn't
build on crusher
@@ -28,7 +28,8 @@ endfunction(progress_example)
progress_example(changecoords changecoords/changecoords.F90)
progress_example(getdihedral getdihedral/getdihedral.F90)
progress_example(gpscf_dist gpdist/gpscf_dist.F90)
progress_example(gpmd_dist gpdist/gpmd_dist.F90)
#MEW Comment out as doesn't build on crusher
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to turn off that one because it doesn't build on one platform? Why does it not build?

@mewall
Copy link
Collaborator Author

mewall commented Feb 18, 2022 via email

@nicolasbock nicolasbock merged commit 6eec35a into master Feb 22, 2022
@nicolasbock nicolasbock deleted the crusher_magma branch February 22, 2022 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants