-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig_compilers.xml
96 lines (82 loc) · 3.38 KB
/
config_compilers.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0"?>
<!--
Copyright 2020-2020 Vrije Universiteit Brussel
This file is part of cesm-config,
originally created by the HPC team of Vrije Universiteit Brussel (https://hpc.vub.be),
with support of Vrije Universiteit Brussel (https://www.vub.be),
the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be),
the Flemish Research Foundation (FWO) (http://www.fwo.be/en)
and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
https://github.com/vub-hpc/cesm-config
cesm-config is free software: you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
cesm-config is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with cesm-config. If not, see <http://www.gnu.org/licenses/>.
Desripion:
Compiler configuration file for the following HPC clusters
- VSC Tier-2: Hydra
- VSC Tier-1: Breniac
Author: Alex Domingo (Vrije Universiteit Brussel)
-->
<config_compilers>
<compiler MACH="hydra">
<ESMF_LIBDIR>$ENV{EBROOTESMF}/lib</ESMF_LIBDIR>
<NETCDF_PATH>$ENV{EBROOTNETCDF}</NETCDF_PATH>
<NETCDF_C_PATH>$ENV{EBROOTNETCDF}</NETCDF_C_PATH>
<NETCDF_FORTRAN_PATH>$ENV{EBROOTNETCDFMINFORTRAN}</NETCDF_FORTRAN_PATH>
<PNETCDF_PATH>$ENV{EBROOTPNETCDF}</PNETCDF_PATH>
<PIO_FILESYSTEM_HINTS>gpfs</PIO_FILESYSTEM_HINTS>
</compiler>
<compiler MACH="hydra" COMPILER="gnu">
<MPICC> mpicc </MPICC>
<MPICXX> mpicxx </MPICXX>
<MPIFC> mpifort </MPIFC>
<SCC> gcc </SCC>
<SCXX> g++ </SCXX>
<SFC> gfortran </SFC>
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
<append> -fallow-argument-mismatch -fallow-invalid-boz </append>
</FFLAGS>
<SLIBS>
<append> -L$ENV{EBROOTSCALAPACK}/lib -lscalapack -L$ENV{EBROOTOPENBLAS}/lib -lopenblas </append>
<append> -L$ENV{EBROOTNETCDFMINFORTRAN}/lib -lnetcdff -L$ENV{EBROOTNETCDF}/lib -lnetcdf </append>
</SLIBS>
</compiler>
<compiler MACH="hortense">
<ESMF_LIBDIR>$ENV{EBROOTESMF}/lib</ESMF_LIBDIR>
<NETCDF_PATH>$ENV{EBROOTNETCDF}</NETCDF_PATH>
<NETCDF_C_PATH>$ENV{EBROOTNETCDF}</NETCDF_C_PATH>
<NETCDF_FORTRAN_PATH>$ENV{EBROOTNETCDFMINFORTRAN}</NETCDF_FORTRAN_PATH>
<PNETCDF_PATH>$ENV{EBROOTPNETCDF}</PNETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
</compiler>
<compiler MACH="hortense" COMPILER="gnu">
<MPICC> mpicc </MPICC>
<MPICXX> mpicxx </MPICXX>
<MPIFC> mpifort </MPIFC>
<SCC> gcc </SCC>
<SCXX> g++ </SCXX>
<SFC> gfortran </SFC>
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
<append> -fallow-argument-mismatch -fallow-invalid-boz </append>
</FFLAGS>
<SLIBS>
<append> -L$ENV{EBROOTSCALAPACK}/lib -lscalapack -L$ENV{EBROOTOPENBLAS}/lib -lopenblas </append>
<append> -L$ENV{EBROOTNETCDFMINFORTRAN}/lib -lnetcdff -L$ENV{EBROOTNETCDF}/lib -lnetcdf </append>
</SLIBS>
</compiler>
</config_compilers>