SU2 Precice Command Not Recognize

I used precice 1.6.1 but i want to use new version precice such as precice 2.3.0. I try to install to clean ubuntu, not upgrade. I think i install succesfully with instraction notes. But SU2_CFD command does not work. Issue is the precice command does not recognise. Where am i wrong. Somebody can help me this issue. Thanks.

Here my error:

PRECICE_USAGE: invalid option name. Check current SU2 options in config_template.cfg.
PRECICE_CONFIG_FILENAME: invalid option name. Check current SU2 options in config_template.cfg.
PRECICE_PARTICIPANT_NAME: invalid option name. Check current SU2 options in config_template.cfg.
PRECICE_MESH_NAME: invalid option name. Check current SU2 options in config_template.cfg.
PRECICE_READ_DATA_NAME: invalid option name. Check current SU2 options in config_template.cfg.
PRECICE_WRITE_DATA_NAME: invalid option name. Check current SU2 options in config_template.cfg.
PRECICE_WETSURFACE_MARKER_NAME: invalid option name. Check current SU2 options in config_template.cfg.
PRECICE_NUMBER_OF_WETSURFACES: invalid option name. Check current SU2 options in config_template.cfg.
GRID_MOVEMENT_KIND: invalid option value PRECICE_MOVEMENT. Check current SU2 options in config_template.cfg.

Here my bashrc file:

PRECICE_PREFIX="~/preCICE/precice-2.3.0/build" # set this to your selected prefix
export PATH=$PRECICE_PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PRECICE_PREFIX/lib:$LD_LIBRARY_PATH
export CPATH=$PRECICE_PREFIX/include:$CPATH
# Enable detection with pkg-config and CMake
export PKG_CONFIG_PATH=$PRECICE_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
export CMAKE_PREFIX_PATH=$PRECICE_PREFIX:$CMAKE_PREFIX_PATH

export SU2_RUN="/home/se/preCICE/SU2-6.0.0/bin"
export SU2_HOME="/home/se/preCICE/SU2-6.0.0"
export PATH=$PATH:$SU2_RUN
export PYTHONPATH=$PYTHONPATH:$SU2_RUN

@hinci from the first error, I suspect that this is the original, not modifies SU2_CFD executable, not the one that includes preCICE.

Maybe check again if every step in the installation of the SU2 adapter went fine.

Tagging the relevant GitHub issue for reference.

I installed before SU2 adapter with precice1.6.1. New version has the similar insttallation but SU2 don’t recognise adapter and i don’t know why.

I installed again now system work. I try to install WSL Ubuntu i think i made mistake about path in bashrc.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.