installing an older model version (cclm 4.8) on mistral – in #9: CCLM

in #9: CCLM

<p> Hi, <br/> in order to keep my results (of model simulations) consistent with previous ones I tried to install the same version of cfu/int2lm/cclm (from starter package 1.3.4) on mistral as I used on another machine before. </p> <p> I get the error message: <br/> <pre> /bin/sh: mpif90: command not found make: *** [/pf/b/ ....] error 127 </pre> </p> <p> Does anybody have a working configuration of Fopts/Makefile for installing cclm 4.8 on mistral … <br/> OR can tell me what’s the reason for this error ? </p> <p> Thanks. </p>

  @redc_migration in #65fd0be

<p> Hi, <br/> in order to keep my results (of model simulations) consistent with previous ones I tried to install the same version of cfu/int2lm/cclm (from starter package 1.3.4) on mistral as I used on another machine before. </p> <p> I get the error message: <br/> <pre> /bin/sh: mpif90: command not found make: *** [/pf/b/ ....] error 127 </pre> </p> <p> Does anybody have a working configuration of Fopts/Makefile for installing cclm 4.8 on mistral … <br/> OR can tell me what’s the reason for this error ? </p> <p> Thanks. </p>

installing an older model version (cclm 4.8) on mistral

Hi,
in order to keep my results (of model simulations) consistent with previous ones I tried to install the same version of cfu/int2lm/cclm (from starter package 1.3.4) on mistral as I used on another machine before.

I get the error message:

/bin/sh: mpif90: command not found
make: *** [/pf/b/ ....] error 127

Does anybody have a working configuration of Fopts/Makefile for installing cclm 4.8 on mistral …
OR can tell me what’s the reason for this error ?

Thanks.

View in channel
<p> It seems you did not load any compiler? (There is none loaded as default on Mistral) </p> <p> e.g. <br/> module load fca <br/> module load mxm <br/> module load bullxmpi_mlx_mt/bullxmpi_mlx_mt-1.2.9.2 </p>

  @redc_migration in #77a79ff

<p> It seems you did not load any compiler? (There is none loaded as default on Mistral) </p> <p> e.g. <br/> module load fca <br/> module load mxm <br/> module load bullxmpi_mlx_mt/bullxmpi_mlx_mt-1.2.9.2 </p>

It seems you did not load any compiler? (There is none loaded as default on Mistral)

e.g.
module load fca
module load mxm
module load bullxmpi_mlx_mt/bullxmpi_mlx_mt-1.2.9.2

<p> Oliver Gutjahr wrote: <br/> &gt; It seems you did not load any compiler? (There is none loaded as default on Mistral) <br/> &gt; <br/> &gt; e.g. <br/> &gt; module load fca <br/> &gt; module load mxm <br/> &gt; module load bullxmpi_mlx_mt/bullxmpi_mlx_mt-1.2.9.2 </p> <p> Thanks, I didn’t know that. <br/> The Fortran compiler according to the Fopts would be <strong> mpxlf_r </strong> , the C compiler is <strong> mpcc_r </strong> . <br/> I don’t see them in module avail. </p> <p> Which should I take instead? </p>

  @redc_migration in #b674cc4

<p> Oliver Gutjahr wrote: <br/> &gt; It seems you did not load any compiler? (There is none loaded as default on Mistral) <br/> &gt; <br/> &gt; e.g. <br/> &gt; module load fca <br/> &gt; module load mxm <br/> &gt; module load bullxmpi_mlx_mt/bullxmpi_mlx_mt-1.2.9.2 </p> <p> Thanks, I didn’t know that. <br/> The Fortran compiler according to the Fopts would be <strong> mpxlf_r </strong> , the C compiler is <strong> mpcc_r </strong> . <br/> I don’t see them in module avail. </p> <p> Which should I take instead? </p>

Oliver Gutjahr wrote:
> It seems you did not load any compiler? (There is none loaded as default on Mistral)
>
> e.g.
> module load fca
> module load mxm
> module load bullxmpi_mlx_mt/bullxmpi_mlx_mt-1.2.9.2

Thanks, I didn’t know that.
The Fortran compiler according to the Fopts would be mpxlf_r , the C compiler is mpcc_r .
I don’t see them in module avail.

Which should I take instead?

<p> You cannot use the Fopts of the starter package v1.3.4 on Mistral, as it was meant for the former blizzard machine. </p> <p> If I am not wrong, it might be possible just to use the Fopts (and the mpif90, i.e. bullxmpi) from the newest version of the starter package (@Burkhardt: correct me if I’m wrong). </p>

  @redc_migration in #567217a

<p> You cannot use the Fopts of the starter package v1.3.4 on Mistral, as it was meant for the former blizzard machine. </p> <p> If I am not wrong, it might be possible just to use the Fopts (and the mpif90, i.e. bullxmpi) from the newest version of the starter package (@Burkhardt: correct me if I’m wrong). </p>

You cannot use the Fopts of the starter package v1.3.4 on Mistral, as it was meant for the former blizzard machine.

If I am not wrong, it might be possible just to use the Fopts (and the mpif90, i.e. bullxmpi) from the newest version of the starter package (@Burkhardt: correct me if I’m wrong).

<p> Hi Alexander, </p> <p> Please, have a look into the Redmine of <span class="caps"> CLM </span> -Community. </p> <p> http://redc.clm-community.eu/projects/cclmdkrz/wiki/ </p> <p> Even two years ago advices are given there. </p> <p> Furthermore, have a look into documents provided by <span class="caps"> DKRZ </span> on their homepage. </p> <p> Hans-Juergen </p>

  @hans-jürgenpanitz in #c111348

<p> Hi Alexander, </p> <p> Please, have a look into the Redmine of <span class="caps"> CLM </span> -Community. </p> <p> http://redc.clm-community.eu/projects/cclmdkrz/wiki/ </p> <p> Even two years ago advices are given there. </p> <p> Furthermore, have a look into documents provided by <span class="caps"> DKRZ </span> on their homepage. </p> <p> Hans-Juergen </p>

Hi Alexander,

Please, have a look into the Redmine of CLM -Community.

http://redc.clm-community.eu/projects/cclmdkrz/wiki/

Even two years ago advices are given there.

Furthermore, have a look into documents provided by DKRZ on their homepage.

Hans-Juergen

<p> @ Oliver Gutjahr </p> <p> <em> … it might be possible just to use the Fopts from the newest version of the starter package </em> </p> <p> That worked for cfu. </p> <p> @ Hans-Juergen Panitz </p> <p> <em> have a look into documents provided by <span class="caps"> DKRZ </span> on their homepage </em> </p> <p> I did not find there any hacks concerning <span class="caps"> CCLM </span> (compiler settings). </p> <p> The link you posted concerns compiler options for <strong> cclm </strong> . What about int2lm ? <br/> And what about the grib library, neccessary to compile int2lm? It seems there is no such folder “grib” in newer SP versions, where I could take the Fopts file from. </p>

  @redc_migration in #fcf4d44

<p> @ Oliver Gutjahr </p> <p> <em> … it might be possible just to use the Fopts from the newest version of the starter package </em> </p> <p> That worked for cfu. </p> <p> @ Hans-Juergen Panitz </p> <p> <em> have a look into documents provided by <span class="caps"> DKRZ </span> on their homepage </em> </p> <p> I did not find there any hacks concerning <span class="caps"> CCLM </span> (compiler settings). </p> <p> The link you posted concerns compiler options for <strong> cclm </strong> . What about int2lm ? <br/> And what about the grib library, neccessary to compile int2lm? It seems there is no such folder “grib” in newer SP versions, where I could take the Fopts file from. </p>

@ Oliver Gutjahr

… it might be possible just to use the Fopts from the newest version of the starter package

That worked for cfu.

@ Hans-Juergen Panitz

have a look into documents provided by DKRZ on their homepage

I did not find there any hacks concerning CCLM (compiler settings).

The link you posted concerns compiler options for cclm . What about int2lm ?
And what about the grib library, neccessary to compile int2lm? It seems there is no such folder “grib” in newer SP versions, where I could take the Fopts file from.

<p> I have now installed cfu. </p> <p> For int2lm I have copied the Fopts, ObjFiles, ObjDependencies from SP 2.4. <br/> But which <span class="caps"> MPI </span> _INC, <span class="caps"> MPI </span> _LIB I should use? <br/> And where do I get the Grib library from (since there is no such folder in SP 2.4)? </p>

  @redc_migration in #0bd2c45

<p> I have now installed cfu. </p> <p> For int2lm I have copied the Fopts, ObjFiles, ObjDependencies from SP 2.4. <br/> But which <span class="caps"> MPI </span> _INC, <span class="caps"> MPI </span> _LIB I should use? <br/> And where do I get the Grib library from (since there is no such folder in SP 2.4)? </p>

I have now installed cfu.

For int2lm I have copied the Fopts, ObjFiles, ObjDependencies from SP 2.4.
But which MPI _INC, MPI _LIB I should use?
And where do I get the Grib library from (since there is no such folder in SP 2.4)?

<p> Again my advice to look into the <span class="caps"> CLM </span> Redmine Wiki and to read Burkhardt’s and my recommendations there. </p> <p> You find </p> <p> - the required modules that have to be loaded </p> <p> - a file “Fopts” for <span class="caps"> CCLM </span> </p> <p> Of course, you can also consider this Fopts file as an example file for the compilation of INT2LM. <br/> Only a few adaptions are necessary which might depend on the INT2LM version you want to use, and which are related to the conditional compiler options in <span class="caps"> CPPFLAGS </span> . Read the misc-global file in the <span class="caps"> DOCS </span> directory of your INT2LM version. </p> <p> Furthermore, the file shows a path to a working version of <span class="caps"> GRIB </span> _LIB. <br/> Note that it is GRIB1! <br/> Try whether you have access to this lib. </p> <p> Hans-Jürgen </p>

  @hans-jürgenpanitz in #cfcc97e

<p> Again my advice to look into the <span class="caps"> CLM </span> Redmine Wiki and to read Burkhardt’s and my recommendations there. </p> <p> You find </p> <p> - the required modules that have to be loaded </p> <p> - a file “Fopts” for <span class="caps"> CCLM </span> </p> <p> Of course, you can also consider this Fopts file as an example file for the compilation of INT2LM. <br/> Only a few adaptions are necessary which might depend on the INT2LM version you want to use, and which are related to the conditional compiler options in <span class="caps"> CPPFLAGS </span> . Read the misc-global file in the <span class="caps"> DOCS </span> directory of your INT2LM version. </p> <p> Furthermore, the file shows a path to a working version of <span class="caps"> GRIB </span> _LIB. <br/> Note that it is GRIB1! <br/> Try whether you have access to this lib. </p> <p> Hans-Jürgen </p>

Again my advice to look into the CLM Redmine Wiki and to read Burkhardt’s and my recommendations there.

You find

- the required modules that have to be loaded

- a file “Fopts” for CCLM

Of course, you can also consider this Fopts file as an example file for the compilation of INT2LM.
Only a few adaptions are necessary which might depend on the INT2LM version you want to use, and which are related to the conditional compiler options in CPPFLAGS . Read the misc-global file in the DOCS directory of your INT2LM version.

Furthermore, the file shows a path to a working version of GRIB _LIB.
Note that it is GRIB1!
Try whether you have access to this lib.

Hans-Jürgen

<p> Sorry for bothering you again. </p> <p> Hans-Juergen Panitz wrote: </p> <p> &gt; – the required modules that have to be loaded <br/> &gt; </p> <p> The required modules are now loaded. (also in bash_profile) </p> <p> &gt; – a file “Fopts” for CCLM <br/> &gt; Of course, you can also consider this Fopts file as an example file for the compilation of INT2LM. </p> <p> I took the Fopts from SP 2.4 (int2lm) and adapted a few things from the Fopts from the link you provided. <br/> Still I have no clue how to set the variables <span class="caps"> MPI </span> _INC, <span class="caps"> MPI </span> _LIB. There are no recommandations in the example script for that. </p> <p> &gt; Furthermore, the file shows a path to a working version of GRIB_LIB. <br/> &gt; Note that it is GRIB1! </p> <p> I adapted this. </p> <p> When typing “make” compilation starts for some files but then I get the error </p> <pre> make: *** Keine Regel vorhanden, um das Target ».../src/int2lm/src/info_int2lm.f90« benötigt von ».../src/int2lm/obj/info_int2lm.o«, zu erstellen. </pre>

  @redc_migration in #6fedf68

<p> Sorry for bothering you again. </p> <p> Hans-Juergen Panitz wrote: </p> <p> &gt; – the required modules that have to be loaded <br/> &gt; </p> <p> The required modules are now loaded. (also in bash_profile) </p> <p> &gt; – a file “Fopts” for CCLM <br/> &gt; Of course, you can also consider this Fopts file as an example file for the compilation of INT2LM. </p> <p> I took the Fopts from SP 2.4 (int2lm) and adapted a few things from the Fopts from the link you provided. <br/> Still I have no clue how to set the variables <span class="caps"> MPI </span> _INC, <span class="caps"> MPI </span> _LIB. There are no recommandations in the example script for that. </p> <p> &gt; Furthermore, the file shows a path to a working version of GRIB_LIB. <br/> &gt; Note that it is GRIB1! </p> <p> I adapted this. </p> <p> When typing “make” compilation starts for some files but then I get the error </p> <pre> make: *** Keine Regel vorhanden, um das Target ».../src/int2lm/src/info_int2lm.f90« benötigt von ».../src/int2lm/obj/info_int2lm.o«, zu erstellen. </pre>

Sorry for bothering you again.

Hans-Juergen Panitz wrote:

> – the required modules that have to be loaded
>

The required modules are now loaded. (also in bash_profile)

> – a file “Fopts” for CCLM
> Of course, you can also consider this Fopts file as an example file for the compilation of INT2LM.

I took the Fopts from SP 2.4 (int2lm) and adapted a few things from the Fopts from the link you provided.
Still I have no clue how to set the variables MPI _INC, MPI _LIB. There are no recommandations in the example script for that.

> Furthermore, the file shows a path to a working version of GRIB_LIB.
> Note that it is GRIB1!

I adapted this.

When typing “make” compilation starts for some files but then I get the error

make: *** Keine Regel vorhanden, um das Target ».../src/int2lm/src/info_int2lm.f90«
benötigt von ».../src/int2lm/obj/info_int2lm.o«, zu erstellen.
<p> “Still I have no clue how to set the variables <span class="caps"> MPI </span> _INC, <span class="caps"> MPI </span> _LIB. There are no recommandations in the example script for that” </p> <p> There is no need to set these variables since you loaded all necessary modules, and if you did adapt your <span class="caps"> FOPTS </span> correctly from the example </p> <p> “make: *** Keine Regel vorhanden, um das Target »…/src/int2lm/src/info_int2lm.f90« <br/> benötigt von »…/src/int2lm/obj/info_int2lm.o«, zu erstellen.” </p> <p> Did you create the directory “obj” in the folder where you execute “make”? </p> <p> Hans-Jürgen </p>

  @hans-jürgenpanitz in #d0c2924

<p> “Still I have no clue how to set the variables <span class="caps"> MPI </span> _INC, <span class="caps"> MPI </span> _LIB. There are no recommandations in the example script for that” </p> <p> There is no need to set these variables since you loaded all necessary modules, and if you did adapt your <span class="caps"> FOPTS </span> correctly from the example </p> <p> “make: *** Keine Regel vorhanden, um das Target »…/src/int2lm/src/info_int2lm.f90« <br/> benötigt von »…/src/int2lm/obj/info_int2lm.o«, zu erstellen.” </p> <p> Did you create the directory “obj” in the folder where you execute “make”? </p> <p> Hans-Jürgen </p>

“Still I have no clue how to set the variables MPI _INC, MPI _LIB. There are no recommandations in the example script for that”

There is no need to set these variables since you loaded all necessary modules, and if you did adapt your FOPTS correctly from the example

“make: *** Keine Regel vorhanden, um das Target »…/src/int2lm/src/info_int2lm.f90«
benötigt von »…/src/int2lm/obj/info_int2lm.o«, zu erstellen.”

Did you create the directory “obj” in the folder where you execute “make”?

Hans-Jürgen

<p> The Fopts (see listing below, which is also part of the SP) should work for both CCLM4.8 and 5.0. If you use the dependency and object files from 4.8 and load the modules (already mentioned by the other replies) it will work. Do not use the object and dependency files from 5.0 for 4.8!! Note that the <span class="caps"> GRIBLIB </span> is not part of the SP, if you want to use <span class="caps"> GRIB </span> I/O you need to compile it and set the appropriate paths in the Fopts. </p> <p> <pre> # <ol> <li>preliminary recommendation for <span class="caps">CCLM</span> compiler options on <span class="caps">MISTRAL</span></li> <li>H.-J. Panitz, <span class="caps">IMK</span>-<span class="caps">TRO</span>/KIT, 2015-07-29</li> <li>change compiler, options and libraries according to your needs</li> </ol> # ######### <ol> <li>Mistral (<span class="caps">DKRZ</span>) / Intel Compiler</li> </ol> ######### # <ol> <li>modules and libraries</li> </ol> #</pre> </p> <ol> <li> .. <span class="caps"> MPI </span> <br/> <span class="caps"> MPI </span> _INC = <br/> <span class="caps"> MPI </span> _LIB = </li> </ol> <p> <ol> <li> .. netCDF <br/> <span class="caps"> NETCDFC </span> _ROOT = /sw/rhel6-x64/netcdf/netcdf_c-4.3.2-gcc48 <br/> <span class="caps"> NETCDFF </span> _ROOT = /sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-intel14 <br/> HDF5_ROOT = /sw/rhel6-x64/hdf5/hdf5-1.8.14-threadsafe-gcc48 <br/> <span class="caps"> SZIP </span> _ROOT = /sw/rhel6-x64/sys/libaec-0.3.2-gcc48 </li> </ol> # <br/> NC_INC = -I${NETCDFF_ROOT}/include <br/> NC_LIB = -L${NETCDFC_ROOT}/lib -lnetcdff <br/> NC_LIB += -L${NETCDFF_ROOT}/lib -lnetcdf <br/> NC_LIB += -L${HDF5_ROOT}/lib -lhdf5_hl -lhdf5 -lz <br/> NC_LIB += -L${SZIP_ROOT}/lib -lsz -lm # </p> <p> <ol> <li> .. <span class="caps"> GRIB </span> </li> </ol> # <ol> <li> The <span class="caps"> GRIB </span> Library is not part of the starter package </li> </ol> # <br/> GRIB_LIB= </p> <p> # <ol> <li> name and path of standard binary to be produced <br/> <span class="caps"> PROGRAM </span> = bin/cclm.exe </li> </ol> # </p> <ol> <li> .. other libs, if needed on the computer system (e.g. mathematical packages) <br/> OTHLIBS1= </li> </ol> # <ol> <li> compiler, options and libraries </li> </ol> # <ol> <li> important note wiith respect to the compiler </li> <li> I recommend to use the <span class="caps"> BULL </span> <span class="caps"> MPI </span> environmet. For this the nake of the compiler <br/> is “mpif90” </li> <li> If you want to use the <span class="caps"> INTEL </span> <span class="caps"> MPI </span> environment, then you have to change the name to “mpiifort” </li> <li> F90 = mpif90 </li> </ol> <ol> <li> if you want to use <span class="caps"> GRIB </span> you have to at - <span class="caps"> DGRIB </span> to the <span class="caps"> CPPFLAGS </span> and </li> <li> define the <span class="caps"> GRIBLIB </span> library above <br/> <span class="caps"> CPPFLAGS </span> = - <span class="caps"> DNETCDF </span> - <span class="caps"> DCLM </span> </li> </ol> <p> # <ol> <li> for purposes of first tests you may use in addition to the option below the op <br/> tions -fpe0 -traceback <br/> <span class="caps"> COMFLG </span> = -c -cpp -Os -no-vec -fp-model source $( <span class="caps"> CPPFLAGS </span> ) $( <span class="caps"> MPI </span> _INC) ${NC_INC} - <br/> I$( <span class="caps"> SRCDIR </span> ) </li> </ol> </p> <p> COMFLG1 = $( <span class="caps"> COMFLG </span> ) <br/> COMFLG2 = $( <span class="caps"> COMFLG </span> ) <br/> COMFLG3 = $( <span class="caps"> COMFLG </span> ) # <ol> <li> Compile src_setup_vartab.f90 with optimization level -O0; speeds up the compil <br/> ation very much!! </li> <li> for pruposes of first tests I recommend to use in addition to the option below the optiopn -fpe0 -traceback </li> </ol> # <br/> COMFLG4 = -c -cpp -O0 -no-vec -fp-model source $( <span class="caps"> CPPFLAGS </span> ) $( <span class="caps"> MPI </span> _INC) ${NC <br/> _INC} -I$( <span class="caps"> SRCDIR </span> ) </p> <p> # <br/> LDSEQ = ${F90} <br/> LDPAR = ${F90} <br/> LDFLG = -I$( <span class="caps"> SRCDIR </span> ) <br/> LIB = ${GRIB_LIB} ${NC_LIB} ${MPI_LIB} ${OTHLIBS1} <br/> LIB += -Wl,-rpath,$( <span class="caps"> NETCDFF </span> _ROOT)/lib:$( <span class="caps"> NETCDFC </span> _ROOT)/lib:$(HDF5_ROOT)/l <br/> ib:$( <span class="caps"> SZIP </span> _ROOT)/lib </p> <p> </p>

  @burkhardtrockel in #87364a6

<p> The Fopts (see listing below, which is also part of the SP) should work for both CCLM4.8 and 5.0. If you use the dependency and object files from 4.8 and load the modules (already mentioned by the other replies) it will work. Do not use the object and dependency files from 5.0 for 4.8!! Note that the <span class="caps"> GRIBLIB </span> is not part of the SP, if you want to use <span class="caps"> GRIB </span> I/O you need to compile it and set the appropriate paths in the Fopts. </p> <p> <pre> # <ol> <li>preliminary recommendation for <span class="caps">CCLM</span> compiler options on <span class="caps">MISTRAL</span></li> <li>H.-J. Panitz, <span class="caps">IMK</span>-<span class="caps">TRO</span>/KIT, 2015-07-29</li> <li>change compiler, options and libraries according to your needs</li> </ol> # ######### <ol> <li>Mistral (<span class="caps">DKRZ</span>) / Intel Compiler</li> </ol> ######### # <ol> <li>modules and libraries</li> </ol> #</pre> </p> <ol> <li> .. <span class="caps"> MPI </span> <br/> <span class="caps"> MPI </span> _INC = <br/> <span class="caps"> MPI </span> _LIB = </li> </ol> <p> <ol> <li> .. netCDF <br/> <span class="caps"> NETCDFC </span> _ROOT = /sw/rhel6-x64/netcdf/netcdf_c-4.3.2-gcc48 <br/> <span class="caps"> NETCDFF </span> _ROOT = /sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-intel14 <br/> HDF5_ROOT = /sw/rhel6-x64/hdf5/hdf5-1.8.14-threadsafe-gcc48 <br/> <span class="caps"> SZIP </span> _ROOT = /sw/rhel6-x64/sys/libaec-0.3.2-gcc48 </li> </ol> # <br/> NC_INC = -I${NETCDFF_ROOT}/include <br/> NC_LIB = -L${NETCDFC_ROOT}/lib -lnetcdff <br/> NC_LIB += -L${NETCDFF_ROOT}/lib -lnetcdf <br/> NC_LIB += -L${HDF5_ROOT}/lib -lhdf5_hl -lhdf5 -lz <br/> NC_LIB += -L${SZIP_ROOT}/lib -lsz -lm # </p> <p> <ol> <li> .. <span class="caps"> GRIB </span> </li> </ol> # <ol> <li> The <span class="caps"> GRIB </span> Library is not part of the starter package </li> </ol> # <br/> GRIB_LIB= </p> <p> # <ol> <li> name and path of standard binary to be produced <br/> <span class="caps"> PROGRAM </span> = bin/cclm.exe </li> </ol> # </p> <ol> <li> .. other libs, if needed on the computer system (e.g. mathematical packages) <br/> OTHLIBS1= </li> </ol> # <ol> <li> compiler, options and libraries </li> </ol> # <ol> <li> important note wiith respect to the compiler </li> <li> I recommend to use the <span class="caps"> BULL </span> <span class="caps"> MPI </span> environmet. For this the nake of the compiler <br/> is “mpif90” </li> <li> If you want to use the <span class="caps"> INTEL </span> <span class="caps"> MPI </span> environment, then you have to change the name to “mpiifort” </li> <li> F90 = mpif90 </li> </ol> <ol> <li> if you want to use <span class="caps"> GRIB </span> you have to at - <span class="caps"> DGRIB </span> to the <span class="caps"> CPPFLAGS </span> and </li> <li> define the <span class="caps"> GRIBLIB </span> library above <br/> <span class="caps"> CPPFLAGS </span> = - <span class="caps"> DNETCDF </span> - <span class="caps"> DCLM </span> </li> </ol> <p> # <ol> <li> for purposes of first tests you may use in addition to the option below the op <br/> tions -fpe0 -traceback <br/> <span class="caps"> COMFLG </span> = -c -cpp -Os -no-vec -fp-model source $( <span class="caps"> CPPFLAGS </span> ) $( <span class="caps"> MPI </span> _INC) ${NC_INC} - <br/> I$( <span class="caps"> SRCDIR </span> ) </li> </ol> </p> <p> COMFLG1 = $( <span class="caps"> COMFLG </span> ) <br/> COMFLG2 = $( <span class="caps"> COMFLG </span> ) <br/> COMFLG3 = $( <span class="caps"> COMFLG </span> ) # <ol> <li> Compile src_setup_vartab.f90 with optimization level -O0; speeds up the compil <br/> ation very much!! </li> <li> for pruposes of first tests I recommend to use in addition to the option below the optiopn -fpe0 -traceback </li> </ol> # <br/> COMFLG4 = -c -cpp -O0 -no-vec -fp-model source $( <span class="caps"> CPPFLAGS </span> ) $( <span class="caps"> MPI </span> _INC) ${NC <br/> _INC} -I$( <span class="caps"> SRCDIR </span> ) </p> <p> # <br/> LDSEQ = ${F90} <br/> LDPAR = ${F90} <br/> LDFLG = -I$( <span class="caps"> SRCDIR </span> ) <br/> LIB = ${GRIB_LIB} ${NC_LIB} ${MPI_LIB} ${OTHLIBS1} <br/> LIB += -Wl,-rpath,$( <span class="caps"> NETCDFF </span> _ROOT)/lib:$( <span class="caps"> NETCDFC </span> _ROOT)/lib:$(HDF5_ROOT)/l <br/> ib:$( <span class="caps"> SZIP </span> _ROOT)/lib </p> <p> </p>

The Fopts (see listing below, which is also part of the SP) should work for both CCLM4.8 and 5.0. If you use the dependency and object files from 4.8 and load the modules (already mentioned by the other replies) it will work. Do not use the object and dependency files from 5.0 for 4.8!! Note that the GRIBLIB is not part of the SP, if you want to use GRIB I/O you need to compile it and set the appropriate paths in the Fopts.

#
	
  1. preliminary recommendation for CCLM compiler options on MISTRAL
  2. H.-J. Panitz, IMK-TRO/KIT, 2015-07-29
  3. change compiler, options and libraries according to your needs
# #########
  1. Mistral (DKRZ) / Intel Compiler
######### #
  1. modules and libraries
#

  1. .. MPI
    MPI _INC =
    MPI _LIB =

  1. .. netCDF
    NETCDFC _ROOT = /sw/rhel6-x64/netcdf/netcdf_c-4.3.2-gcc48
    NETCDFF _ROOT = /sw/rhel6-x64/netcdf/netcdf_fortran-4.4.2-intel14
    HDF5_ROOT = /sw/rhel6-x64/hdf5/hdf5-1.8.14-threadsafe-gcc48
    SZIP _ROOT = /sw/rhel6-x64/sys/libaec-0.3.2-gcc48
#
NC_INC = -I${NETCDFF_ROOT}/include
NC_LIB = -L${NETCDFC_ROOT}/lib -lnetcdff
NC_LIB += -L${NETCDFF_ROOT}/lib -lnetcdf
NC_LIB += -L${HDF5_ROOT}/lib -lhdf5_hl -lhdf5 -lz
NC_LIB += -L${SZIP_ROOT}/lib -lsz -lm #

  1. .. GRIB
#
  1. The GRIB Library is not part of the starter package
#
GRIB_LIB=

#

  1. name and path of standard binary to be produced
    PROGRAM = bin/cclm.exe
#

  1. .. other libs, if needed on the computer system (e.g. mathematical packages)
    OTHLIBS1=
#
  1. compiler, options and libraries
#
  1. important note wiith respect to the compiler
  2. I recommend to use the BULL MPI environmet. For this the nake of the compiler
    is “mpif90”
  3. If you want to use the INTEL MPI environment, then you have to change the name to “mpiifort”
  4. F90 = mpif90
  1. if you want to use GRIB you have to at - DGRIB to the CPPFLAGS and
  2. define the GRIBLIB library above
    CPPFLAGS = - DNETCDF - DCLM

#

  1. for purposes of first tests you may use in addition to the option below the op
    tions -fpe0 -traceback
    COMFLG = -c -cpp -Os -no-vec -fp-model source $( CPPFLAGS ) $( MPI _INC) ${NC_INC} -
    I$( SRCDIR )

COMFLG1 = $( COMFLG )
COMFLG2 = $( COMFLG )
COMFLG3 = $( COMFLG ) #

  1. Compile src_setup_vartab.f90 with optimization level -O0; speeds up the compil
    ation very much!!
  2. for pruposes of first tests I recommend to use in addition to the option below the optiopn -fpe0 -traceback
#
COMFLG4 = -c -cpp -O0 -no-vec -fp-model source $( CPPFLAGS ) $( MPI _INC) ${NC
_INC} -I$( SRCDIR )

#
LDSEQ = ${F90}
LDPAR = ${F90}
LDFLG = -I$( SRCDIR )
LIB = ${GRIB_LIB} ${NC_LIB} ${MPI_LIB} ${OTHLIBS1}
LIB += -Wl,-rpath,$( NETCDFF _ROOT)/lib:$( NETCDFC _ROOT)/lib:$(HDF5_ROOT)/l
ib:$( SZIP _ROOT)/lib

<p> For <strong> int2lm </strong> it worked fine using the Fopts as described + dependency and object files from int2lm 1.10, </p> <p> But it does not work analogue for <strong> cclm </strong> (dependency and object files from cclm 4.8 + recommended Fopts). </p> <p> Some files are compiled, then there are a lot of warnings, remarks and errors. <br/> At the end “make” does not create the binary. (I’ve added the output) </p> <p> The modules are loaded. <br/> Thanks. </p>

  @redc_migration in #53cb529

<p> For <strong> int2lm </strong> it worked fine using the Fopts as described + dependency and object files from int2lm 1.10, </p> <p> But it does not work analogue for <strong> cclm </strong> (dependency and object files from cclm 4.8 + recommended Fopts). </p> <p> Some files are compiled, then there are a lot of warnings, remarks and errors. <br/> At the end “make” does not create the binary. (I’ve added the output) </p> <p> The modules are loaded. <br/> Thanks. </p>

For int2lm it worked fine using the Fopts as described + dependency and object files from int2lm 1.10,

But it does not work analogue for cclm (dependency and object files from cclm 4.8 + recommended Fopts).

Some files are compiled, then there are a lot of warnings, remarks and errors.
At the end “make” does not create the binary. (I’ve added the output)

The modules are loaded.
Thanks.

<p> In your previous posts you asked for the <span class="caps"> GRIB </span> -lib, because, as I assume, you realized that <span class="caps"> CCLM </span> _4-8 needs it. <br/> I provided you with the information where to find a <span class="caps"> GRIB </span> -lib version working on <span class="caps"> MISTRAL </span> . </p> <p> So, why didn’t you use it? </p> <p> Don’t tell me “because it is not included in the recommended Fopts version for <span class="caps"> CCLM </span> ”. </p> <p> This version also tells you at the very beginning that it is “preliminary” and that you have to adapt it “to your needs”. <br/> And you find a line telling you unequivocally that it prepared for the definition of the <span class="caps"> GRIB </span> -Lib. </p> <p> The Fopts version you used seems to be part of a recent version of the starter package that applies <span class="caps"> CCLM </span> _5-8-9. <br/> In <span class="caps"> CCLM </span> _5-8-x, (x=1,….,9) <span class="caps"> GRIB </span> -Lib can still be used, but the usage has to be defined explicitly in the compiler-flags ( <span class="caps"> CPPFLAGS </span> ) as the conditional option “- <span class="caps"> DGRIB </span> ”, similar to “- <span class="caps"> DNETCDF </span> ” for the <br/> usage of NetCDF. </p> <p> Hans-Juergen </p>

  @hans-jürgenpanitz in #fb8d4f9

<p> In your previous posts you asked for the <span class="caps"> GRIB </span> -lib, because, as I assume, you realized that <span class="caps"> CCLM </span> _4-8 needs it. <br/> I provided you with the information where to find a <span class="caps"> GRIB </span> -lib version working on <span class="caps"> MISTRAL </span> . </p> <p> So, why didn’t you use it? </p> <p> Don’t tell me “because it is not included in the recommended Fopts version for <span class="caps"> CCLM </span> ”. </p> <p> This version also tells you at the very beginning that it is “preliminary” and that you have to adapt it “to your needs”. <br/> And you find a line telling you unequivocally that it prepared for the definition of the <span class="caps"> GRIB </span> -Lib. </p> <p> The Fopts version you used seems to be part of a recent version of the starter package that applies <span class="caps"> CCLM </span> _5-8-9. <br/> In <span class="caps"> CCLM </span> _5-8-x, (x=1,….,9) <span class="caps"> GRIB </span> -Lib can still be used, but the usage has to be defined explicitly in the compiler-flags ( <span class="caps"> CPPFLAGS </span> ) as the conditional option “- <span class="caps"> DGRIB </span> ”, similar to “- <span class="caps"> DNETCDF </span> ” for the <br/> usage of NetCDF. </p> <p> Hans-Juergen </p>

In your previous posts you asked for the GRIB -lib, because, as I assume, you realized that CCLM _4-8 needs it.
I provided you with the information where to find a GRIB -lib version working on MISTRAL .

So, why didn’t you use it?

Don’t tell me “because it is not included in the recommended Fopts version for CCLM ”.

This version also tells you at the very beginning that it is “preliminary” and that you have to adapt it “to your needs”.
And you find a line telling you unequivocally that it prepared for the definition of the GRIB -Lib.

The Fopts version you used seems to be part of a recent version of the starter package that applies CCLM _5-8-9.
In CCLM _5-8-x, (x=1,….,9) GRIB -Lib can still be used, but the usage has to be defined explicitly in the compiler-flags ( CPPFLAGS ) as the conditional option “- DGRIB ”, similar to “- DNETCDF ” for the
usage of NetCDF.

Hans-Juergen

<p> Hans-Juergen Panitz wrote: </p> <p> &gt; <br/> &gt; <strong> Don’t tell me </strong> “because it is not included in the recommended Fopts version for CCLM”. <br/> &gt; </p> <p> How could I dare … </p> <p> … to think this is a forum where people, not completely familiar with technical issues get answers on questions, that are trivial for you? <br/> Dont worry, I’m not going to waste your precious time again. </p>

  @redc_migration in #a9ba4ec

<p> Hans-Juergen Panitz wrote: </p> <p> &gt; <br/> &gt; <strong> Don’t tell me </strong> “because it is not included in the recommended Fopts version for CCLM”. <br/> &gt; </p> <p> How could I dare … </p> <p> … to think this is a forum where people, not completely familiar with technical issues get answers on questions, that are trivial for you? <br/> Dont worry, I’m not going to waste your precious time again. </p>

Hans-Juergen Panitz wrote:

>
> Don’t tell me “because it is not included in the recommended Fopts version for CCLM”.
>

How could I dare …

… to think this is a forum where people, not completely familiar with technical issues get answers on questions, that are trivial for you?
Dont worry, I’m not going to waste your precious time again.