-
Notifications
You must be signed in to change notification settings - Fork 15
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
ifs-source sync #8
Changes from 129 commits
952d348
486070b
90e594c
bd56b89
67416b8
0c870fe
6aabed4
7de7e43
317fc0b
770e2ec
4f17315
c7ecac8
0ca9503
af501da
674e3e9
7dfe2b8
97cf590
67c250b
71698f2
c6d591f
7fa0660
8f8fc92
2f6d1da
c6afdf2
c29ba0a
6b4358d
c739bb1
c324497
809ba02
813afd7
cac9eeb
970ff16
3dd6536
3835674
6056258
130201e
f4fb67f
efc9ecb
cc697a9
1bb0b4a
5474259
d0f5c7b
58d85a8
73fc16c
3b54499
701b36e
154e9c5
4128d94
2204564
02f6bbf
6a836ef
647b9d5
9254361
13e3f7d
2229841
2128cbe
08938c4
3cb70bf
c93af77
a63ba36
1c32ded
eb38d1b
5a1a875
1b87539
4dcca59
89fb97d
2be9d83
9c8a305
d9197f2
47b0c04
744ab1a
cdf8269
3f887fc
5a3aa19
6127d91
5f3394a
e2949ea
b4c2c55
0f4cbd4
43c3df6
d3ea8db
2164943
b4902c1
b77af2d
e46cd97
9a32f13
34c3d2c
2e16ce6
77cc995
3d05f40
51e18ae
6aa00db
1601dd5
dd8a9ae
40c60dc
b0ffd34
9fad3e3
cfa860d
cc116d2
a53afae
28b97d6
8458505
fcf3158
269cc04
d28b059
037bdd3
ecd0644
d913e42
1c70aa8
e418d24
36e4832
e2e8c9d
5050622
9d74c57
531b2ce
878df33
c15e2ac
bfec65a
19a14f5
af58bf1
f90c011
4115cd5
55df4e2
70c58b9
6f16c55
86045de
58fc919
4cf503c
3f77924
b326f5a
552a536
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -62,11 +62,13 @@ list( APPEND ecwam_srcs | |||||
cireduce.F90 | ||||||
ciwabr.F90 | ||||||
ciwaf.F90 | ||||||
ctcor.F90 | ||||||
ctuw.F90 | ||||||
ctuwdrv.F90 | ||||||
ctuwini.F90 | ||||||
ctuwupdt.F90 | ||||||
current2wam.F90 | ||||||
depthprpt.F90 | ||||||
difdate.F90 | ||||||
dominant_period.F90 | ||||||
expand_string.F90 | ||||||
|
@@ -106,6 +108,7 @@ list( APPEND ecwam_srcs | |||||
initnemocpl.F90 | ||||||
iniwcst.F90 | ||||||
intpol.F90 | ||||||
intrpolchk.F90 | ||||||
intspec.F90 | ||||||
inwgrib.F90 | ||||||
iwam_get_unit.F90 | ||||||
|
@@ -126,6 +129,7 @@ list( APPEND ecwam_srcs | |||||
meansqs.F90 | ||||||
meansqs_gc.F90 | ||||||
meansqs_lf.F90 | ||||||
mfr.F90 | ||||||
mfredir.F90 | ||||||
mgrid.F90 | ||||||
micep.F90 | ||||||
|
@@ -148,7 +152,6 @@ list( APPEND ecwam_srcs | |||||
mpuserin.F90 | ||||||
mstart.F90 | ||||||
mswell.F90 | ||||||
mtabs.F90 | ||||||
mubuf.F90 | ||||||
mwp1.F90 | ||||||
mwp2.F90 | ||||||
|
@@ -191,9 +194,11 @@ list( APPEND ecwam_srcs | |||||
propags.F90 | ||||||
propags1.F90 | ||||||
propags2.F90 | ||||||
propconnect.F90 | ||||||
propdot.F90 | ||||||
readbou.F90 | ||||||
readfl.F90 | ||||||
readmdlconf.F90 | ||||||
readpre.F90 | ||||||
readsta.F90 | ||||||
readstress.F90 | ||||||
|
@@ -258,8 +263,12 @@ list( APPEND ecwam_srcs | |||||
vmin_d.F90 | ||||||
vplus.F90 | ||||||
vplus_d.F90 | ||||||
w_cdf.F90 | ||||||
w_cdfmax.F90 | ||||||
w_maxh.F90 | ||||||
w_mode_st.F90 | ||||||
w_pdf.F90 | ||||||
w_pmax.F90 | ||||||
wam_multio_mod.F90 | ||||||
wam_nproma.F90 | ||||||
wam_sorti.F90 | ||||||
|
@@ -414,7 +423,7 @@ endif() | |||||
ecbuild_add_library( | ||||||
TARGET ${ecwam} | ||||||
SOURCES ${ecwam_srcs} | ||||||
PUBLIC_LIBS fiat parkind_${prec} ${ecwam}_intfb | ||||||
PUBLIC_LIBS fiat parkind_${prec} $<$<NOT:${ECWAM_STANDALONE}>:ecflow_lightf> ${ecwam}_intfb | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
${MPI_Fortran_LIBRARIES} | ||||||
${${PNAME}_OCEANMODEL_LIBRARIES} | ||||||
PRIVATE_LIBS eccodes_f90 | ||||||
|
@@ -423,7 +432,7 @@ ecbuild_add_library( | |||||
field_api_${prec} | ||||||
PUBLIC_INCLUDES $<INSTALL_INTERFACE:include> | ||||||
PRIVATE_INCLUDES ${${PNAME}_OCEANMODEL_INCLUDE_DIRS} | ||||||
PUBLIC_DEFINITIONS ${ECWAM_DEFINITIONS} | ||||||
PUBLIC_DEFINITIONS ${ECWAM_DEFINITIONS} $<${ECWAM_STANDALONE}:_ECWAM_STANDALONE> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can the logic of |
||||||
) | ||||||
|
||||||
ecwam_target_fortran_module_directory( | ||||||
|
@@ -441,8 +450,13 @@ ecwam_target_compile_definitions_FILENAME( ${ecwam} ) | |||||
|
||||||
if( CMAKE_Fortran_COMPILER_ID MATCHES Intel ) | ||||||
set_source_files_properties( mubuf.F90 PROPERTIES COMPILE_OPTIONS "-fp-model;strict" ) | ||||||
set_source_files_properties( propconnect.F90 PROPERTIES COMPILE_OPTIONS "-fp-model;strict" ) | ||||||
elseif( CMAKE_Fortran_COMPILER_ID MATCHES GNU ) | ||||||
set_source_files_properties( mubuf.F90 PROPERTIES COMPILE_OPTIONS "-ffp-contract=off" ) | ||||||
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "PGI|NVHPC") | ||||||
set_source_files_properties( | ||||||
sbottom.F90 PROPERTIES COMPILE_FLAGS " -g -O1 -Mflushz -Mno-signed-zeros -Mstack_arrays " | ||||||
) | ||||||
endif() | ||||||
|
||||||
### The file grib2wgrid.F90 is sensitive to optimizations in single precision builds. | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be replaced with
It is then not an absolutely required package unless requested via "-DENABLE_ECFLOW=ON" or in the bundle.yml.
This then does not bind this feature to a package or bundle name.