Hello
I want to install Ope
Hello
I want to install OpenFoam in Solaris. I did that successfully in Linux but about Solaris I faced some problems. Would you please help me if there is any extra things that I need to do more than for Linux? Thank you very much mou |
Please check the Wiki. There i
Please check the Wiki. There is information on how to port OpenFOAM to different *nix platforms. See --> http://openfoamwiki.net/index.php/Main_HowTos
|
When you get it working, it'd
When you get it working, it'd be nice to know if Dtrace reveals anything interesting (or not).
|
Direct link here:
http://op
|
Hi
I will try to bring lif
Hi
I will try to bring life back into this thread. I am currently trying to install OF-1.5 on a Sun SPARC cluster with the gcc-compiler optimized for SPARC. The version is gcc-4.2.0, thus it should be sufficient according to the documentation. I have read a bit on the forum and tried to compile it, but I run into problems, which I cannot see a solution for. While compiling the ThirdParty software, I get the following error: /xbar/nas2/home4/s00/ngja/OpenFOAM/OpenFOAM-1.5/wmake/wmake: bad substitution I have traced it to the fact that the shell-script is bugged, and even though I change #!/bin/sh to #!/bin/bash as described elsewhere on the forum, I do not gain anything. I anyone has been succesfull, I would indeed appreciate any help. Best regards, Niels |
I'll assume that the shell isn
I'll assume that the shell isn't the problem (you could also try with /usr/xpg4/bin/sh, or wherever the POSIX shell lives - pdksh isn't bad either), but you need better debugging information that simply "bad substitution".
Try "set -x" either at the command-line, or very near the top of the wmake script. This will echo the shell commands to the screen before executing them and should help pinpoint where the problem lies. Incompatibilities in 'find' or 'sed' might be the root cause. Or maybe even the bash is too ancient to recognize the POSIX ${0##*/} substitution near the top? |
Hi Mark
Thanks. I will dive
Hi Mark
Thanks. I will dive into investigating it. If I come up with a solution I will write it up either here or on the wiki. By the way, I have been looking at the makefile for wmake, and here the SHELL option is set to /bin/sh. I will try to see what happens if I change it to something else, e.g. /bin/bash or any of Mark's suggestions. Best regards, Niels |
solaris
solaris daily use commands
|
Hi, dear all OF_friends, have a nice day.
I am trying to install OF-1.6 on Solaris 10, the system is "SunOS shm 5.10 Generic_141444-09 sun4u sparc SUNW,SPARC-Enterprise". Unfortunately, When I try to run 'foamSystemCheck', error is met shown as follows. ./foamSystemCheck: syntax error at line 56: `NOCHAR=$' unexpected I search the problem in CFD-online, and find that few people are using Solaris system. Would you please give me some advices to solve this problem? Thank you in advance. With best regards, Chiven |
You can try to build it using the StormOS and mine and Bruno script for automatic compiling in Ubuntu, than you transfer the compiled files to the install path and resource the bash...
If have any sucess let me know. StormOS - http://stormos.org/ Script - http://code.google.com/p/openfoam-ubuntu |
Hi, Canesin, thank you for the suggestions.
Unfortunately, I am using the /bin/sh to /bin/bash way. I shall also study what you suggest, and post the progress. Have a nice day. with best regards, Chiven |
Hi, Canesin, I run Allwmake in the directory of OpenFOAM/OpenFOAM-1.6 and meet the errors attached.
Simply speak, it prompts that 'FlexLexer.h: No such file or directory', but I find that it does exist in /usr/sfw/include/ Any comments? Thank you. Chiven HTML Code:
+ wmake libso triSurface |
Hi, good morning everybody,
I copy /usr/sfw/include/FlexLexer.h to $FOAM_SRC/OpenFOAM/lnInclude, and recompile it, get the error like 'FlexLexer.h:47:22: error: iostream.h: No such file or directory'. Thus I further copy /usr/sfw/include/c++/3.4.3/backward/iostream.h to $FOAM_SRC/OpenFOAM/lnInclude, and recompile it and meet another error 'lex.yy.cc:5743: error: cannot convert 'std::istream*' to 'istream*' in assignment'. I think it is because the compiling gcc4.3.3 is not compatible with the iostream.h of c++/3.4.3. But I can NOT get the iostream.h file in 'include/c++/4.3.3/backward/'. I am wondering how to set the options when installing GCC4.3.3 to get it. Any comments are appreciated. with best regards, Chiven |
Hello, dear OF_friends, the details of the errors are attached. Any clue what's going on and the possible remedy?
HTML Code:
+ wmake libso triSurface |
All times are GMT -4. The time now is 17:26. |