Skip to content

Commit

Permalink
Only expose necessary Fortran modules to CAM-SIMA
Browse files Browse the repository at this point in the history
  • Loading branch information
kuanchihwang committed Aug 14, 2024
1 parent 35ca3b0 commit de20b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dynamics/mpas/Makefile.in.CESM
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ $(LIBROOT)/libmpas.a: libmpas.a

libmpas.a: $(AUTOCLEAN_DEPS) dycore externals frame ops subdrv
$(AR) $(ARFLAGS) < libmpas-archiver-script.txt
@find -P . -name "*.mod" -type f -exec $(LN) "{}" . ";"

.PHONY: libmpas-clean
libmpas-clean: clean
Expand All @@ -140,4 +139,5 @@ subdrv: driver/dyn_mpas_subdriver.o

%.o: %.F90 dycore frame ops
( cd $(<D); $(FC) $(CPPFLAGS) $(FFLAGS) -c $(<F) $(CPPINCLUDES) $(FCINCLUDES) -I../framework -I../operators -I../core_$(CORE) -I../core_$(CORE)/dynamics )
$(LN) $(@) .
$(LN) $(*).mod .
$(LN) $(*).o .

0 comments on commit de20b97

Please sign in to comment.