Unable to run in parallel
I am trying to get up and running with SU2 but cannot seem to get the python scripts to run. Trying to run the turbulent ONERAM6 case:
$parallel_computation.py -n 4 -f turb_ONERAM6.cfg I get this: Traceback (most recent call last): File "/usr/local/bin/parallel_computation.py", line 36, in <module> sys.path.append(os.environ['SU2_RUN']) File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__ raise KeyError(key) KeyError: 'SU2_RUN' Any help will be appreciated! |
Hi Boris,
make sure that the environment variable SU2_RUN points to the correct folder. Have a look here for more information: https://github.com/su2code/SU2/wiki/...rallel-support Tim |
I am using the suggested modifications to the bashrc file after installation. I used the following modifications to the config file:
./configure CXXFLAGS="-O3" --enable-mpi --with-cc=/usr/bin/mpicc --with-cxx=/usr/bin/mpicxx --with-CGNS-lib=/usr/local/lib --with-CGNS-include=/usr/local/include --enable-PY_WRAPPER and then include the following lines in the bshrc file: export SU2_RUN="/usr/local/bin" export SU2_HOME="/home/boris/SU2" export PATH=$PATH:$SU2_RUN export PYTHONPATH=$PYTHONPATH:$SU2_RUN I also tried: export SU2_RUN="/usr/bin" export SU2_HOME="/home/boris/SU2" export PATH=$PATH:$SU2_RUN export PYTHONPATH=$PYTHONPATH:$SU2_RUN Actually no matter what I do to the paths I get the same error. |
The issue is resolved. Using the following in the bashrc file:
export SU2_RUN="/usr/local/lib" export SU2_HOME="/home/boris/SU2" export PATH=$PATH:$SU2_RUN export PYTHONPATH=$PYTHONPATH:$SU2_RUN and making sure MPICH is properly installed. Thank you! |
Quote:
|
Quote:
I also used this guide: https://askubuntu.com/questions/6897...buntu-14-04lts Good luck! |
All times are GMT -4. The time now is 13:22. |