View Issue Details

IDProjectCategoryView StatusLast Update
0002672OpenFOAMFeaturepublic2017-08-29 14:55
ReporterAlmostSurelyRob Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionsuspended 
PlatformLinux HPCOSN/AOS VersionN/A
Summary0002672: Lua module for OpenFOAM
DescriptionThis is just a feature request and I am happy to get involved in developing the solution if you think it's useful. Also, I am raising this only as an idea for consideration and quite low priority too.

I am using a number of HPC systems which usually have some form of environment control software such as lua-modules. I've seen quite a few solutions which basically set FOAM_INST_DIR and define env variable foamDotFile which is sourced afterwards.

This works fine, except that swapping modules e.g. between version isn't so simple and often I would need to swap between WM_LABEL_SIZE 32 and 64 or combine it with different MPI.

So my question is if you are foreseeing a need for some form of generic third party environment module as an alternative to etc/bashrc.

Please let me know.
TagsNo tags attached.

Activities

henry

2017-08-22 13:37

manager   ~0008614

Unfortunately there are too many different module systems on various GNU/Linux and other UNIX platforms, many of which are barely maintained. Also these systems are generally incompatible and written in different pragramming and scripting languages including bash/sh, tcl, python, lua, perl etc. There is no clear winner although generally there is a move towards python rather than lua for complex scripting like this.

If there were a plan for a standard module system across the popular GNU/Linux it might be possible and useful for us to support it directly but I am not aware of any such plan and supporting the current proliferation of disparate module systems is not practical.

However, if there are ways of simplifying, generalizing or improving the current OpenFOAM environment setup so that it is easier to use within various module systems then we would be happy to include the changes.

henry

2017-08-29 14:55

manager   ~0008644

Please reopen this report if you have some specific patches to improve the operation of OpenFOAM with common module systems.

Issue History

Date Modified Username Field Change
2017-08-22 12:40 AlmostSurelyRob New Issue
2017-08-22 13:37 henry Note Added: 0008614
2017-08-29 14:55 henry Assigned To => henry
2017-08-29 14:55 henry Status new => closed
2017-08-29 14:55 henry Resolution open => suspended
2017-08-29 14:55 henry Note Added: 0008644