No running solver after successful installation of OF-2.1.x on SGI Altix UV 1000
1 Attachment(s)
Hello Everybody,
I have installed the latest version of OpenFOAM-2.1.x (download from git) on our SGI Altix UV 1000. The compilation run without any error message using the compiler version gcc 4.3.4. After the installation I tried to run a tutorial to see if the solver are working. However I got an error message and I dont have a clue whats wrong. This is what I got when running the pitzDaily tutorial of simpleFoam: Code:
Build : 2.1.x So far I have used OpenFOAM-1.6-ext and this works. I am not sure about the environmental variables, 2.1.x has changed a little bit, but I have set them as I did for 1.6-ext. However as long as I don't get any error message while compiling, the variables should be set right? I found an old thread about OF-1.5 which seems to be somehow similar: http://www.cfd-online.com/Forums/ope...ofoam-run.html However this didn't really help. I hope that anybody has an idea. Thanks! Sebastian |
Hi Sebastian,
Mmm, interesting... OK, there is a couple of linking options that might be disrupting things, namely: Code:
-Xlinker --no-as-needed Therefore, try this:
Quote:
Yet another possibility is to even take out another one the options present in files "wmake/rules/linux64Gcc43/c" and "wmake/rules/linux64Gcc43/c++", namely these two options: Code:
-Xlinker --add-needed Bruno |
Hello Bruno,
thank you for your advices. I did what you have told me and changed Code:
export WM_COMPILER=Gcc Code:
export WM_COMPILER=Gcc43 Then I have rebuilt OpenFOAM. Again, compilation was without any error message, however there is still this failure when running a solver. Your additional suggestion was concerning -Xlinker- in the files "wmake/rules/linux64Gcc43/c" and "wmake/rules/linux64Gcc43/c++". The current default settings are Code:
LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs Code:
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed Code:
-Xlinker --add-needed Code:
-Xlinker --no-as-needed Best regards, Sebastian |
Hi Sebastian,
Quote:
Quote:
To better explain myself: I suspect that "-Xlinker --add-needed" is also contaminating the build process, leading to duplicate symbols in memory! It could be a build option that is not yet fully supported in the binutils version (http://www.gnu.org/software/binutils/) used in your machine. Best regards, Bruno |
1 Attachment(s)
Dear Bruno,
I have deleted the lines Code:
LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs Code:
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed However now the compiler gives me an error now. I have stopped compilation after I realised that somethings going wrong. Would you mind to have a look on my log-file? Update: Ah, or did you mean only deleting the parts -Xlinker --add-needed in those lines? Sorry :) Thank you a lot. Sebastian |
Hi Sebastian,
Quote:
Best regards, Bruno |
1 Attachment(s)
Hello Bruno,
the new build of OpenFOAM still does not give me a working solver, same problem. I have removed the options -Xinker --add-needed in the c and c++ file in wmake/rules/linux64Gcc43/ : Code:
LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs Code:
LINKEXE = $(CC) $(c++FLAGS) Best regards, Sebastian |
Hi Sebastian,
If you're talking about this error: Code:
make: [install] Error 1 (ignored) If you're talking about this one: Code:
Build Tecio Other than all of this... I have no more ideas :( I'm only able to either suggest that you contact the respective section of SGI; or contact OpenCFD directly through their support form: http://www.openfoam.com/support/software.php - at the very least, they could/should indicate who you can contact at SGI. Good luck! Bruno |
Hello Bruno,
okay, thank you very much. I will post it here once I have solved this problem. Please, let me know if you think of anything else. Best regards, Sebastian |
Hi Sebastian,
I'm remembered something from some of the latest forum threads I've seen... try the following command: Code:
ldd $(which simpleFoam) Best regards, Bruno |
Quote:
good idea. However I think everything looks correct: Code:
la2bsesa@altix-uv:/scratch_uv/la2bsesa/OpenFOAM/OpenFOAM-2.1.x> ldd $(which simpleFoam) Best regards, Sebastian |
Hi Sebastian,
There are two libraries that I suspect:
Code:
wmUNSET Then try again running simpleFoam and doing ldd to it, to check how things are working, if at all. If it works this time, then it's a matter of finding the correct build options for MPT. Best regards, Bruno |
Quote:
I will try, but how can I activate OF without MPI Pstream? Sebastian |
The empty "WM_MPLIB=" should do the trick!
Running those two lines of code in the command line should do the trick... You can check your current value by running: Code:
echo $WM_MPLIB |
Dear Bruno,
okay got it. But simpleFoam is still not working :( This is what ldd gives back: Code:
la2bsesa@altix-uv:/scratch_uv/la2bsesa/OpenFOAM/OpenFOAM-2.1.x/tutorials/incompressible/simpleFoam/pitzDaily> ldd $(which simpleFoam) Sebastian |
Hi Sebastian,
Mmm... OK, if 1.6-ext built and works without any problems and 2.1.x has problems... how about OpenFOAM 2.0.x? The objective would be to try and isolate the version from which is started having problems, whether it's something that OpenFOAM got recently and which lead to the problem you're having. If 2.0.x works, then try 2.1.0. If not, try 1.7.x... Best regards, Bruno |
Dear Bruno,
I already tried to install 2.0.x. Same problem. I have contacted OF-support and asked about any known problems of OF-2.x and our SGI-UV machine. Henry Weller answered me, that everything should work fine and there are no problems known. He mentioned that this looks like a library incompatibility issue, i.e. what OpenFOAM was compiled with is not the same as what it is running with... So probably I should try to contact SGI. Thanks for your support Bruno. Best regards, Sebastian |
All times are GMT -4. The time now is 00:02. |