Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flex Extract
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Flexpart
Flex Extract
Commits
75803ebc
Commit
75803ebc
authored
2 years ago
by
Anne Tipka
Browse files
Options
Downloads
Patches
Plain Diff
added tailored makefile for ECMWF Bologna Atos ecgate server
parent
3520ee67
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/Fortran/makefile_atosecs
+61
-0
61 additions, 0 deletions
Source/Fortran/makefile_atosecs
with
61 additions
and
0 deletions
Source/Fortran/makefile_atosecs
0 → 100644
+
61
−
0
View file @
75803ebc
###############################################################################
#
# Makefile for flex_extract, Fortran code to calculate etadot
# Makefile created using by mkmf 19.3.0
#
# Copyright: Leopold Haimberger, Petra Seibert
# SPDX-License-Identifier: GPL-2.0
#
# Version for a machine with eccodes and emoslib installed on standard paths
# with optimisation
#
# 2022-07-21 Anne Tipka
# Updated makefile to make use of the files for fft and get rid of emoslib
#
###############################################################################
EXE = calc_etadot_fast.out
LIB = $(ECCODES_LIB)
INC = -I. $(ECCODES_INCLUDE)
FC=gfortran
OPT = -O3 -march=native
FFLAGS = $(OPT) $(LIB) $(INC) -fdefault-real-8 -fopenmp -fconvert=big-endian
LDFLAGS = $(OPT) $(LIB) -fopenmp
SRC = ./rwgrib2.f90 ./calc_etadot.f90 ./ftrafo.f90 ./grphreal.f90 ./posnam.f90 ./phgrreal.f90 ./set99.f90 ./fft99.f90 ./qpassm.f90 ./rpassm.f90 ./jsppole.f90
OBJ = rwgrib2.o calc_etadot.o ftrafo.o grphreal.o posnam.o phgrreal.o set99.o fft99.o qpassm.o rpassm.o jsppole.o
MOD = ftrafo.mod grtoph.mod phtogr.mod rwgrib2.mod
all: ${EXE}
jsppole.o: ./jsppole.f90
$(FC) $(FFLAGS) -c ./jsppole.f90
qpassm.o: ./qpassm.f90
$(FC) $(FFLAGS) -c ./qpassm.f90
rpassm.o: ./rpassm.f90
$(FC) $(FFLAGS) -c ./rpassm.f90
set99.o: ./set99.f90
$(FC) $(FFLAGS) -c ./set99.f90
fft99.o: ./fft99.f90
$(FC) $(FFLAGS) -c ./fft99.f90
ftrafo.o: ./ftrafo.f90 phgrreal.o
$(FC) $(FFLAGS) -c ./ftrafo.f90
grphreal.o: ./grphreal.f90 phgrreal.o fft99.o
$(FC) $(FFLAGS) -c ./grphreal.f90
phgrreal.o: ./phgrreal.f90 fft99.o
$(FC) $(FFLAGS) -c ./phgrreal.f90
posnam.o: ./posnam.f90
$(FC) $(FFLAGS) -c ./posnam.f90
calc_etadot.o: ./calc_etadot.f90 phgrreal.o grphreal.o ftrafo.o rwgrib2.o jsppole.o set99.o
$(FC) $(FFLAGS) -c ./calc_etadot.f90
rwgrib2.o: ./rwgrib2.f90
$(FC) $(FFLAGS) -c ./rwgrib2.f90
clean:
-rm -f $(OBJ) ${EXE} $(MOD) calc_etadot
${EXE}: $(OBJ)
$(FC) $(OBJ) -o ${EXE} $(LDFLAGS)
ln -sf ${EXE} calc_etadot
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment