Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IPSL
P
Projets
dynamico
DYNAMICO
Commits
d1fbf10f
Commit
d1fbf10f
authored
Apr 29, 2022
by
Romain Pennel
Browse files
Compilation possible without MKL or Lapack
parent
93ca55db
Pipeline
#174586
passed with stages
in 5 minutes and 43 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
make_icosa
make_icosa
+8
-0
src/dcmip/dcmip2016_supercell.F90
src/dcmip/dcmip2016_supercell.F90
+31
-0
No files found.
make_icosa
View file @
d1fbf10f
...
...
@@ -14,6 +14,7 @@ job=1
full_defined
=
"FALSE"
with_xios_defined
=
"FALSE"
with_oasis_defined
=
"FALSE"
with_lapack_defined
=
"FALSE"
arch_defined
=
"FALSE"
parallel_defined
=
"FALSE"
arch_default_path
=
"arch"
...
...
@@ -72,6 +73,9 @@ fin
"-with_oasis"
)
with_oasis_defined
=
"TRUE"
;
shift
;;
"-with_lapack"
)
with_lapack_defined
=
"TRUE"
;
shift
;;
"-no_io"
)
no_io_defined
=
"TRUE"
;
shift
;;
...
...
@@ -192,6 +196,10 @@ then
ICOSA_LIB
=
"
$ICOSA_LIB
$OASIS_LIBDIR
$OASIS_LIB
"
fi
if
[[
"
$with_lapack_defined
"
==
"TRUE"
]]
then
CPP_KEY
=
"
$CPP_KEY
CPP_USING_LAPACK"
fi
if
[[
"
$external_ioipsl
"
==
"TRUE"
]]
then
...
...
src/dcmip/dcmip2016_supercell.
f
90
→
src/dcmip/dcmip2016_supercell.
F
90
View file @
d1fbf10f
MODULE
dcmip2016_supercell_mod
!=======================================================================
!
! Date: April 22, 2016
...
...
@@ -105,6 +106,7 @@ MODULE dcmip2016_supercell_mod
CONTAINS
#ifdef CPP_USING_LAPACK
!=======================================================================
! Generate the supercell initial conditions
!=======================================================================
...
...
@@ -782,4 +784,33 @@ CONTAINS
END
SUBROUTINE
#else
SUBROUTINE
supercell_init
()
IMPLICIT
NONE
PRINT
*
,
"try to compile with lapack or MKL with -use_lapack make_icosa option"
STOP
END
SUBROUTINE
SUBROUTINE
supercell_test
(
lon
,
lat
,
p
,
z
,
zcoords
,
u
,
v
,
t
,
thetav
,
ps
,
rho
,
q
,
pert
)
IMPLICIT
NONE
REAL
(
KIND
=
8
),
INTENT
(
IN
)
::
lon
,
lat
REAL
(
KIND
=
8
),
INTENT
(
INOUT
)
::
p
,
z
INTEGER
,
INTENT
(
IN
)
::
zcoords
REAL
(
KIND
=
8
),
INTENT
(
OUT
)
::
u
,
v
,
t
,
thetav
,
ps
,
rho
,
q
INTEGER
,
INTENT
(
IN
)
::
pert
END
SUBROUTINE
SUBROUTINE
supercell_z
(
lon
,
lat
,
z
,
p
,
thetav
,
rho
,
q
,
pert
)
REAL
(
8
),
INTENT
(
IN
)
::
lon
,
lat
,
z
INTEGER
,
INTENT
(
IN
)
::
pert
REAL
(
8
),
INTENT
(
OUT
)
::
p
,
thetav
,
rho
,
q
END
SUBROUTINE
#endif
END
MODULE
dcmip2016_supercell_mod
MILLOUR Ehouarn
@ehouarn.millour
mentioned in issue
#9
·
May 06, 2022
mentioned in issue
#9
mentioned in issue #9
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment