Skip to content

Commit

Permalink
Rebnamed schism_cmi_esmf -> schism_esmf_cap
Browse files Browse the repository at this point in the history
  • Loading branch information
platipodium committed Feb 18, 2022
1 parent 4b125d1 commit 10127da
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ pdaf: schism_pdaf
# Internal make targets for final linking
SCHISM_NUOPC_MODS=$(addprefix src/schism/,schism_nuopc_util.mod schism_nuopc_cap.mod)
SCHISM_NUOPC_OBJS=$(addprefix src/schism/,schism_nuopc_util.o schism_nuopc_cap.o)
SCHISM_ESMF_MODS=$(addprefix src/schism/,schism_cmi_esmf.mod)
SCHISM_ESMF_OBJS=$(addprefix src/schism/,schism_cmi_esmf.o)
SCHISM_ESMF_MODS=$(addprefix src/schism/,schism_esmf_cap.mod)
SCHISM_ESMF_OBJS=$(addprefix src/schism/,schism_esmf_cap.o)
SCHISM_MODS=$(addprefix src/schism/,schism_bmi.mod schism_esmf_util.mod)
SCHISM_OBJS=$(addprefix src/schism/,schism_bmi.o schism_esmf_util.o)
PDAF_OBJS=$(addprefix src/PDAF_bindings/,parser_mpi.o mod_parallel_pdaf.o mod_assimilation.o init_parallel_pdaf.o \
Expand Down
2 changes: 1 addition & 1 deletion concurrent_esmf_test.F90
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
program main

use esmf
use schism_cmi_esmf, only: schismSetServices => SetServices
use schism_esmf_cap, only: schismSetServices => SetServices
use atmosphere_cmi_esmf, only: atmosSetServices => SetServices

implicit none
Expand Down
2 changes: 1 addition & 1 deletion multi_schism.F90
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
program main

use esmf
use schism_cmi_esmf, only: schismSetServices => SetServices
use schism_esmf_cap, only: schismSetServices => SetServices
use schism_esmf_util, only: clockCreateFrmParam

implicit none
Expand Down
4 changes: 2 additions & 2 deletions schism_pdaf.F90
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
! This code is a main driver for a coupled SCHISM and PDAF
! program for running multiple schism components concurrently in flexible mode
! (i.e. multiple tasks can share same PET list). The coupling model interface is
! schism_cmi_esmf.F90 (and interfaces are defined in schism_bmi.F90)
! schism_esmf_cap.F90 (and interfaces are defined in schism_bmi.F90)
!
! @copyright (C) 2018, 2019, 2020-2021 Helmholtz-Zentrum Geesthacht
! @author Richard Hofmeister
Expand Down Expand Up @@ -36,7 +36,7 @@
program main

use esmf
use schism_cmi_esmf, only: schismSetServices => SetServices
use schism_esmf_cap, only: schismSetServices => SetServices
! use schism_msgp, only: parallel_abort,myrank
! use schism_glbl, only: errmsg,tr_el
! USE mod_assimilation, & ! Variables for assimilation
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ default: all
$(ESMF_F90COMPILER) -c $(ESMF_F90COMPILEOPTS) $(ESMF_F90COMPILEPATHS) $(ESMF_F90COMPILEFREECPP) $(ESMF_F90COMPILECPPFLAGS) $(F90FLAGS) -o $@ $<

main_esmf: main_esmf.o driver/toplevel_schism_netcdf.o model/atmosphere_cmi_nuopc.o \
$(addprefix schism/,schism_cmi_esmf.o schism_esmf_util.o schism_bmi.o)
$(addprefix schism/,schism_esmf_cap.o schism_esmf_util.o schism_bmi.o)
$(ESMF_F90LINKER) $(ESMF_F90LINKOPTS) $(ESMF_F90LINKPATHS) $(ESMF_F90LINKRPATHS) -I. -o $@ $^ $(ESMF_F90ESMFLINKLIBS) $(F90FLAGS) $(MOSSCO_LIB) $(LDFLAGS) $(LIBS)

main_nuopc: main_nuopc.o driver/driver_schism_atm.o model/atmosphere_cmi_nuopc.o \
Expand Down
2 changes: 1 addition & 1 deletion src/PDAF_bindings/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ LDFLAGS+= -L$(SCHISM_BUILD_DIR)/lib -L$(PDAF_BUILD_DIR) -lpdaf-d
$(ESMF_F90COMPILER) -c $(ESMF_F90COMPILEOPTS) $(ESMF_F90COMPILEPATHS) $(ESMF_F90COMPILEFREECPP) $(ESMF_F90COMPILECPPFLAGS) $(F90FLAGS) $<

#schism_nuopc_cap.o: schism_esmf_util.o schism_bmi.o
#schism_cmi_esmf.o: schism_esmf_util.o schism_bmi.o
#schism_esmf_cap.o: schism_esmf_util.o schism_bmi.o
#schism_esmf_util.o: schism_bmi.o

.PHONY: clean default all
Expand Down
2 changes: 1 addition & 1 deletion src/driver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ CMI_NUOPC_OBJS:=$(addprefix ../model/,$(CMI_NUOPC))
CMI_ESMF_OBJS:=$(addprefix ../model/,$(CMI_ESMF))
CMI_MOSSCO_OBJS:=$(addprefix ../mossco/,$(CMI_MOSSCO))
CMI_NUOPC_SCHISM_OBJ:=$(addprefix ../schism/,schism_nuopc_cap.o)
CMI_ESMF_SCHISM_OBJ:=$(addprefix ../schism/,schism_cmi_esmf.o)
CMI_ESMF_SCHISM_OBJ:=$(addprefix ../schism/,schism_esmf_cap.o)

F90FLAGS += -I../model -I ../schism
ifeq ($(origin MOSSCO_DIR), environment)
Expand Down
2 changes: 1 addition & 1 deletion src/driver/toplevel_schism_atm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
module toplevel_schism_atm

use esmf
use schism_cmi_esmf, only: schismSetServices => SetServices
use schism_esmf_cap, only: schismSetServices => SetServices
use atmosphere_cmi_esmf, only: atmosSetServices => SetServices

implicit none
Expand Down
2 changes: 1 addition & 1 deletion src/driver/toplevel_schism_netcdf.F90
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
module toplevel_schism_netcdf

use esmf
use schism_cmi_esmf, only: schismSetServices => SetServices
use schism_esmf_cap, only: schismSetServices => SetServices
use netcdf_component, only: netcdfSetServices => SetServices

implicit none
Expand Down
4 changes: 2 additions & 2 deletions src/schism/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ else
endif

schism_nuopc_cap.o: schism_nuopc_util.o schism_esmf_util.o schism_bmi.o
schism_cmi_esmf.o: schism_esmf_util.o schism_bmi.o
schism_esmf_cap.o: schism_esmf_util.o schism_bmi.o
schism_esmf_util.o: schism_bmi.o
schism_nuopc_util.o: schism_bmi.o

.PHONY: clean default all

default: all
all: nuopc esmf
esmf: schism_cmi_esmf.o
esmf: schism_esmf_cap.o
nuopc: schism_nuopc_cap.o
common: schism_esmf_util.o schism_bmi.o

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
#define ESMF_CONTEXT line=__LINE__,file=ESMF_FILENAME,method=ESMF_METHOD
#define ESMF_ERR_PASSTHRU msg="SCHISM subroutine call returned error"
#undef ESMF_FILENAME
#define ESMF_FILENAME "schism_cmi_esmf.F90"
#define ESMF_FILENAME "schism_esmf_cap.F90"

#define _SCHISM_LOG_AND_FINALIZE_ON_ERROR_(X) if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=X)) call ESMF_Finalize(rc=localrc, endflag=ESMF_END_ABORT)

module schism_cmi_esmf
module schism_esmf_cap

use schism_bmi
use schism_esmf_util
Expand Down Expand Up @@ -1577,4 +1577,4 @@ subroutine schism_get_state(ci)
ncid_schism_io=ncid_c(ci)
end subroutine schism_get_state

end module schism_cmi_esmf
end module schism_esmf_cap
2 changes: 1 addition & 1 deletion triple_schism.F90
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ program main

use esmf
use schism_esmf_util, only: clockCreateFrmParam
use schism_cmi_esmf, only: schismSetServices => SetServices
use schism_esmf_cap, only: schismSetServices => SetServices
use atmosphere_cmi_esmf, only: atmosSetServices => SetServices

implicit none
Expand Down

0 comments on commit 10127da

Please sign in to comment.