Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel compiler AVX2 option for PUMAS_MG_OBJS is causing issues on old Pleiades processors #7

Open
fvitt opened this issue Jan 28, 2022 · 0 comments

Comments

@fvitt
Copy link
Contributor

fvitt commented Jan 28, 2022

The -xCORE-AVX2 intel compiler option in Depends.intel for the PUMAS_MG_OBJS source files is causing issues for the sandy bridge and ivy bridge processors on pleiades. The intel AVX instructions settings in the cmake_macros/intel_*.cmake files should be sufficient. Is there a reason we should not remove the -xCORE-AVX2 setting from Depends.intel?

--- a/machines/Depends.intel
+++ b/machines/Depends.intel
@@ -46,6 +46,6 @@ ifeq ($(DEBUG),FALSE)
   $(SHR_RANDNUM_C_OBJS): %.o: %.c
          $(CC) -c $(INCLDIR) $(INCS) $(CFLAGS) -O3 -fp-model fast $<
   $(PUMAS_MG_OBJS): %.o: %.F90
-         $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O3 -xCORE-AVX2 -no-fma -ftz -no-prec-sqrt -qoverride-limits -no-inline-max-total-size -inline-factor=200 -qopt-report=5 $<
+         $(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O3 -no-fma -ftz -no-prec-sqrt -qoverride-limits -no-inline-max-total-size -inline-factor=200 -qopt-report=5 $<
 
jedwards4b added a commit that referenced this issue Feb 4, 2022
Updates needed for CESM on NAS Pleiades machines
Fixes issue #7 so that CESM will run on pleiades-ivy and pleiades-san machines

    modified:   machines/cmake_macros/pleiades-bro.cmake
    modified:   machines/cmake_macros/pleiades-has.cmake
    modified:   machines/cmake_macros/pleiades-ivy.cmake
    modified:   machines/cmake_macros/pleiades-san.cmake
    modified:   machines/config_batch.xml
    modified:   machines/config_compilers.xml
    modified:   machines/config_machines.xml
    modified:   machines/Depends.intel
mvertens added a commit to mvertens/ccs_config_cesm that referenced this issue May 19, 2023
jedwards4b pushed a commit to jedwards4b/ccs_config_cesm that referenced this issue Oct 9, 2023
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

No branches or pull requests

1 participant