|
[Sponsors] |
May 8, 2012, 01:13 |
How can I publish my build of OF-2.1.0 ?
|
#1 |
New Member
John Smith
Join Date: May 2012
Posts: 2
Rep Power: 0 |
System: Centos 6.0, icc, ifort, intelmpi
The system administrator allows me to publish my binary build of OF-2.1.0 in directory /export/OpenFOAM. I compiled the source as a normal user "john", not a root. The problem is only user john, i.e. myself, can run the binary code, others will get "Segmentation fault" and exit code of "139". I have checked the shell enviroment variants, library path, MPI path, ..., ensure the other user's are the same as mine. The problem still exist. Who can help me ? |
|
May 8, 2012, 02:29 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
They could compile the same code you have, in case you can share it.
An easy alternative could be to build a statically linked executable with: wmake exe Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
May 8, 2012, 20:50 |
|
#3 |
New Member
John Smith
Join Date: May 2012
Posts: 2
Rep Power: 0 |
Thank you for your replying. Since many users on the cluster will use OpenFOAM, it's better to publish a binary code so that they needn't spend too much time to compile the source code individually. To build a statically linked executable is a good idea, I'll have a try. Thanks again.
|
|
May 9, 2012, 02:59 |
|
#4 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
Quote:
Code:
chmod -R a+rX dir-name |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam 1.6-ext - RPM build errors | preibie | OpenFOAM | 12 | September 8, 2011 03:12 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 18:07 |
mpich2 build for hpf | taw | Main CFD Forum | 0 | April 6, 2008 03:34 |
OpenFOAM build from source instructions | tj22 | OpenFOAM Installation | 7 | April 6, 2006 16:15 |
CFX Build 5 question... | cfd guy | CFX | 6 | June 19, 2001 22:38 |