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

dev/master does not compile with -openmp #47

Closed
nikizadehgfdl opened this issue Sep 10, 2014 · 2 comments
Closed

dev/master does not compile with -openmp #47

nikizadehgfdl opened this issue Sep 10, 2014 · 2 comments
Labels

Comments

@nikizadehgfdl
Copy link
Contributor

commit 4841919 does not compile with -openmp


ftn -D_USE_GENERIC_TRACER -DINTERNAL_FILE_NML -g -traceback -D_FILE_VERSION="`git-version-string /lustre/f1/unswept/Niki.Zadeh/testing_mom6_20140909/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_lateral_mixing_coeffs.F90`"  -fpp -Wp,-w -I/opt/cray/netcdf/4.2.0/intel/120/include -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -i4 -r8 -nowarn -sox -I/opt/cray/netcdf/4.2.0/intel/120/include -O2 -debug minimal -fp-model precise -override-limits -openmp -I/lustre/f1/unswept/Niki.Zadeh/testing_mom6_20140909/FMS_compile_libs/ncrc2.intel-repro-openmp/exec/ocean_shared -I/lustre/f1/unswept/Niki.Zadeh/testing_mom6_20140909/FMS_compile_libs/ncrc2.intel-repro-openmp/exec/fms  -c -I/lustre/f1/unswept/Niki.Zadeh/testing_mom6_20140909/FMS_compile_libs/src/mom6/config_src/dynamic -I/lustre/f1/unswept/Niki.Zadeh/testing_mom6_20140909/FMS_compile_libs/src/mom6/src/framework        /lustre/f1/unswept/Niki.Zadeh/testing_mom6_20140909/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_lateral_mixing_coeffs.F90
/lustre/f1/unswept/Niki.Zadeh/testing_mom6_20140909/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_lateral_mixing_coeffs.F90(201): error #6752: Since the OpenMP* DEFAULT(NONE) clause applies, the PRIVATE, SHARED, REDUCTION, FIRSTPRIVATE, or LASTPRIVATE attribute must be explicitly specified for every variable.   [CG1_U]
        cg1_u = 0.5 * (CS%cg1(i,j) + CS%cg1(i+1,j))
--------^
/lustre/f1/unswept/Niki.Zadeh/testing_mom6_20140909/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_lateral_mixing_coeffs.F90(211): error #6752: Since the OpenMP* DEFAULT(NONE) clause applies, the PRIVATE, SHARED, REDUCTION, FIRSTPRIVATE, or LASTPRIVATE attribute must be explicitly specified for every variable.   [CG1_V]
        cg1_v = 0.5 * (CS%cg1(i,j) + CS%cg1(i,j+1))
--------^
compilation aborted for /lustre/f1/unswept/Niki.Zadeh/testing_mom6_20140909/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_lateral_mixing_coeffs.F90 (code 1)
make[1]: *** [MOM_lateral_mixing_coeffs.o] Error 1
make[1]: *** Waiting for unfinished jobs....

@Zhi-Liang
Copy link
Contributor

Hi Niki,

I checked in the fix on user/z1l/openmp.

Zhi

On Wed, Sep 10, 2014 at 6:35 PM, Niki Zadeh notifications@github.com
wrote:

Assigned #47 #47 to
@Zhi-Liang https://github.com/Zhi-Liang.


Reply to this email directly or view it on GitHub
#47 (comment).

@nikizadehgfdl
Copy link
Contributor Author

Merged the fix to dev/master.
Closing this issue.

gustavo-marques added a commit to gustavo-marques/MOM6 that referenced this issue Apr 18, 2018
Hallberg-NOAA pushed a commit to Hallberg-NOAA/MOM6 that referenced this issue Dec 22, 2021
MJHarrison-GFDL pushed a commit to MJHarrison-GFDL/MOM6 that referenced this issue Aug 16, 2022
increate netcdf file attribute length limit from 512 to 1280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants