CentFOAM & openfoam2.2.x (troubles with runApplication ...)
Dear All
I'm in charge of a numerical server (under CentOS 6.2 with 8 processors) in order to perform numerical calculations (I'm a Mechanical engineer using Finite Elements solvers and numerical tools). For colleagues performing CFD calculations, I've been installing: - openfoam 2.2.x using centfoam script - engrid, paraview and gmsh tools were installed separatly first without difficulty - no error when launching OF22 alias In order to validate that openfoam works (fine), I tried to launch an example such as motorbike one using Allrun script; nevertheless I've met some troubles I do not understand: - runApplication is missing - runParallel is missing - getApplication is missing Any reason ? Thanks for any support Paul |
Hi
Did you run OF22 in the terminal before running Allrun script? If you did not the terminal environment has no idea about the OF stuff. |
Quote:
yes I did it (type OFF22 then ./Allrun) NB: when I make a "find -P -name "*runApplications*" at the /, nothing is found (same result for the other libraries) was there a trouble during Openfoam2.2.x.tar.gz file installation ?????? Paul |
Are you sure there are any files in the install directory?
|
In the following link, you'll find all the files included in the /openFOAM repertory using "ls -lsR"
Note there's something strange : 2 user names appear in the list while I installed centFOAM under my user name (the names have been changed of course) http://dl.free.fr/uckrbyeqY Paul |
That link is not any good. please use something that does not look like spam eg. google drive, dropbox, skydrive etc.
|
Just went through the file and the problem is in the bashrc file of OpenFOAM.
I've done some updating and a mistake has slipped in whilst doing that. If you download the new centFoam.py script it should work and if you change this line in the OF bashrc file it should also work for you Code:
foamInstall=/home/centfoam/$WM_PROJECT |
I've made the requested changes in the bashrc and chsrc files (openfoam repertories) after tarball file decompression
In order to install cenFOAM in the root /, I needed to type python script_name --OF22 --path= I had troubles using --path=/ or something else ; my bashrc file plus the 2 previous files were updated afterward Let me testing the new script .... Paul |
last remark ... when I do ./Allwmake, I've an error message telling me the environment variables are inconsistent ... enough for today
Paul |
Hi
I naively tried to compile Openfoam using the devtoolset for gcc ... bad idea Centfoam appears to be the best solution ; ounce again I installed it (/opt that time) : - eveything seems ok - the use of Allwmake shows everything has ever been done correctly - the use of "icoFoam -help" seems to work But when I launch a tutorial with "./Allrun" : - runApplication - runParallel - and so on are missing ... what's going wrong ? is it possible that the tarball is corrupted or something missing in ? I would like to understand .... Paul |
Hi
can you please post the output from the terminal here? It is really difficult to help when we cant see the errors you get. |
here are :
Quote:
"commande introuvable" = missing command " impossible d'accéder à processor*: Aucun fichier ou dossier de ce type" = no access to processor*: no such file nor directory In the Allrun file, variables were removed (after trials): Quote:
|
Hi
I have no problems by doing this. Open a new terminal cd into you case. Code:
cd OF-cases/Sandbox/motorBike/ Code:
OF22 Code:
./Allrun Code:
Running surfaceFeatureExtract on /home/44792/OF-cases/Sandbox/motorBike I think your problem is that you are missing a "." to source the RunFunctions Original Allrun Code:
# Source tutorial run functions Code:
# Source tutorial run functions |
sorry for my incompetence ... and thanks for the support
Now i few seconds I've the following one : Quote:
Just an additional question : is the complete run performed ? Paul |
bad news ...
When I open some log files, I've the error hereafter ; I need to spend more time in order to find the origin of the trouble ... Paul Quote:
|
after a research on the net, I found the following post:
http://www.cfd-online.com/Forums/ope...entos-5-a.html "which mpi" shows it pointes to the mpi release coming with centFOAM (ThirdParty2.2.x) ; What means ? Code:
mpirun -np 4 -x LD_LIBRARY_PATH -x PATH -x WM_PROJECT_DIR -x WM_PROJECT_INST_DIR -x WM_OPTIONS -x FOAM_LIBBIN -x FOAM_APPBIN -x FOAM_USER_APPBIN -x MPI_BUFFER_SIZE interFoam -parallel |
how stupid am I ... the answer is in the post !!!
Quote:
Regards Paul |
All times are GMT -4. The time now is 19:53. |