Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

supported modules in config_machines.xml

pansah

Peter Ansah
New Member
Hi,
Is there any documentation on supported modules for the lines below in the the config_machines.xml script? What if I set modules to "none"... What happens?
Thank you!

Software module systems
<!-- allowed types are none, module, soft -->
<module_system type="module">
<modules>
<command name="purge"/>
<command name="load">ncarenv/1.0</command>
</modules>
<modules compiler="intel">
<command name="load">intel/16.0.3</command>
<command name="load">mkl</command>
</modules>
</module system>
<modules mpilib="mpt">
<command name="load">netcdf/4.4.1</command>
<!-- <command name="load">netcdf-mpi/4.4.1</command> -->
<command name="load">pnetcdf/1.8.0</command>
</modules>
</module_system>
 

pansah

Peter Ansah
New Member
Hi,
Is there any documentation on supported modules for the lines below in the the config_machines.xml script? What if I set modules to "none"... What happens?
Thank you!

Software module systems
<!-- allowed types are none, module, soft -->
<module_system type="module">
<modules>
<command name="purge"/>
<command name="load">ncarenv/1.0</command>
</modules>
<modules compiler="intel">
<command name="load">intel/16.0.3</command>
<command name="load">mkl</command>
</modules>
</module system>
<modules mpilib="mpt">
<command name="load">netcdf/4.4.1</command>
<!-- <command name="load">netcdf-mpi/4.4.1</command> -->
<command name="load">pnetcdf/1.8.0</command>
</modules>
</module_system>
Also, do I really have to load netcdf and pnetcdf??
 

jedwards

CSEG and Liaisons
Staff member
If you set modules to none you don't use modules and the build will only use compilers and libraries it finds in your path.
You do need netcdf. pnetcdf is optional but recommended if you have a parallel file system.
 

pansah

Peter Ansah
New Member
If you set modules to none you don't use modules and the build will only use compilers and libraries it finds in your path.
You do need netcdf. pnetcdf is optional but recommended if you have a parallel file system.
Thanks! That was helpful.
 

jedwards

CSEG and Liaisons
Staff member
If you have everything you need in your path you can set modules="none" and not use them.
Modules allow the use of multiple environments (compilers, mpi librairies, etc) which cannot all be in the environment at the same time.
 

pansah

Peter Ansah
New Member
If you have everything you need in your path you can set modules="none" and not use them.
Modules allow the use of multiple environments (compilers, mpi librairies, etc) which cannot all be in the environment at the same time.
Great. Thanks!
 
Top