Skip to content

compilation error with -openmp in dev/master/2014.05.23 #22

@nikizadehgfdl

Description

@nikizadehgfdl

ftn -D_USE_GENERIC_TRACER -DINTERNAL_FILE_NML -g -traceback -D_FILE_VERSION="git-version-string /lustre/f1/Niki.Zadeh/testing_20140527/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_thickness_diffuse.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/Niki.Zadeh/testing_20140527/FMS_compile_libs/ncrc2.intel-repro-openmp/exec/ocean_shared -I/lustre/f1/Niki.Zadeh/testing_20140527/FMS_compile_libs/ncrc2.intel-repro-openmp/exec/fms -c -I/lustre/f1/Niki.Zadeh/testing_20140527/FMS_compile_libs/src/mom6/config_src/dynamic -I/lustre/f1/Niki.Zadeh/testing_20140527/FMS_compile_libs/src/mom6/src/framework /lustre/f1/Niki.Zadeh/testing_20140527/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_thickness_diffuse.F90
/lustre/f1/Niki.Zadeh/testing_20140527/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_thickness_diffuse.F90(628): error #6752: Since the OpenMP* DEFAULT(NONE) clause applies, the PRIVATE, SHARED, REDUCTION, FIRSTPRIVATE, or LASTPRIVATE attribute must be explicitly specified for every variable. [CS]
if (CS%id_slope_x > 0) CS%diagSlopeX(I,j,k) = Slope
--------------^
/lustre/f1/Niki.Zadeh/testing_20140527/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_thickness_diffuse.F90(808): error #6752: Since the OpenMP* DEFAULT(NONE) clause applies, the PRIVATE, SHARED, REDUCTION, FIRSTPRIVATE, or LASTPRIVATE attribute must be explicitly specified for every variable. [CS]
if (CS%id_slope_y > 0) CS%diagSlopeY(I,j,k) = Slope
--------------^
compilation aborted for /lustre/f1/Niki.Zadeh/testing_20140527/FMS_compile_libs/src/mom6/src/parameterizations/lateral/MOM_thickness_diffuse.F90 (code 1)
make[1]: *** [MOM_thickness_diffuse.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/lustre/f1/Niki.Zadeh/testing_20140527/FMS_compile_libs/ncrc2.intel-repro-openmp/exec/mom6'
make: *** [mom6/libmom6.a] Error 2
make: *** Waiting for unfinished jobs....

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions