Building solver on 24.4.1 on cluster

Hi everyone,

I used the following commands to build the solver on the cluster. Is this the correct approach?

module load mfix/24.4.1
module load cmake/3.24.1
CC=mpicc FC=mpifort build_mfixsolver --dmp

Is there any difference between using a single dash (-dmp) and a double dash (--dmp) before dmp?

Additionally, when I run mfixsolver -h (to display help for the executable), I see the following output:

usage: pymfix.py [-h] [-f FILE] [-m MFIXSOLVER] [-p] [-l LOG] [-c] [-s]

Welcome to PYMFiX

options:
-h, --help show this help message and exit
-f FILE, --file FILE specify an input file (*.mfx or *.dat)
-m MFIXSOLVER, --mfixsolver MFIXSOLVER
full path to mfixsolver module (mfixsolver.so,
mfixsolver_dmp.so, etc.)
-p, --print-flags display the solver configuration flags
-l LOG, --log LOG set logging level (ERROR, WARNING, STATUS, INFO)
-c, --clean clean output files before starting run
-s, --server start HTTP server

Have the command-line arguments that mfixsolver accepts changed between versions?

Hi @BimalChhushyabaga

Is there any difference between using a single dash (-dmp) and a double dash (--dmp) before dmp?

You need to specify a double-dash --dmp . If you use a single dash you should get an error message like this:

CMake Error: Unknown argument -dmp

Have the command-line arguments that mfixsolver accepts changed between versions?

What differences did you observe? What behavior did you expect?

Thank you very much @cgw.

For the new version 25.1, it shows errors when building a solver for a model that worked for version 23.1.1.

An example of a section of such errors while building a solver is as follows:

421 | use physprop, only: Tmiddle ! more than two temperature ranges
| 1
Error: Symbol ‘tmiddle’ referenced at (1) not found in module ‘physprop’

420 | use physprop, only: Amiddle ! for temperatures between Tlow and Thigh
| 1
Error: Symbol ‘amiddle’ referenced at (1) not found in module ‘physprop’

448 | DO i = 2, size(Tmiddle(M,N,:))
| 1
Error: Syntax error in argument list at (1)

450 | calc_CpoR = calc_CpoR0(xT, Amiddle(1:5,M,N,i-1))
| 1
Error: Syntax error in argument list at (1)

If you modified any file, you will need to make the equivalent changes in the 25.1 version of the files.

1 Like

Thanks, @jeff.dietiker.