Skip to content

Commit

Permalink
Minor Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
manishvenu committed Aug 30, 2024
1 parent 1201ffe commit a598b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions standalone/build/build_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ ${MKMF_ROOT}/list_paths ${FMS_ROOT}/src
echo "${SHR_ROOT}/src/shr_kind_mod.F90" >> path_names
echo "${SHR_ROOT}/src/shr_const_mod.F90" >> path_names
${MKMF_ROOT}/mkmf -t ${TEMPLATE} -p libfms.a -c "-Duse_libMPI -Duse_netCDF -DSPMD" path_names
make -j36 NETCDF=3 REPRO=1 libfms.a
make -j${jNUM} NETCDF=3 REPRO=1 libfms.a

# 2) Build MOM6
cd ${INTERFACE_ROOT}/standalone/build
mkdir -p ${BLD_ROOT}/MOM6
cd ${BLD_ROOT}/MOM6
${MKMF_ROOT}/list_paths -l ${MOM_ROOT}/{config_src/infra/FMS2,config_src/memory/dynamic_symmetric,config_src/drivers/solo_driver,../externals/MARBL/src,config_src/external,src/{*,*/*}}/
${MKMF_ROOT}/mkmf -t ${TEMPLATE} -o '-I../FMS' -p MOM6 -l '-L../FMS -lfms' -c '-Duse_libMPI -Duse_netCDF -DSPMD' path_names
make -j${jNUM}" NETCDF=3 REPRO=1 MOM6
make -j${jNUM} NETCDF=3 REPRO=1 MOM6

echo "Finished build at `date`"

0 comments on commit a598b23

Please sign in to comment.