|
[Sponsors] |
[Salome] How to hotwire Salome or OpenCascade? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 17, 2009, 01:56 |
How to hotwire Salome or OpenCascade?
|
#1 |
Senior Member
|
I have installed Salome on Linux and OpenCascade on windows. As far as I know the installations were successful. Both programs demonstrate a gui on their website and apear to be promising. I have yet to find anything more than a geometry viewer with-in the installs. Thoughts?
The question that never seems to get answered in opensource documentation is; Where is the on switch? Thanks guys! |
|
October 17, 2009, 02:33 |
|
#2 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
On my Debian partition, I use the following script, save it to your /home/eric/ give it a name of your choice, chmod +x TheNameOfTheFile, then call using the dot command,i.e, ./TheNameOfTheFile here it is #! /bin/bash cd salome_5.1.2 source env_products.sh cd SALOME_5.1.2 cd bin cd salome ./runSalome if you visit the Salome forum, you will find answers to your questions and a set of tutorials........ Good Luck |
||
October 17, 2009, 18:00 |
|
#3 |
Senior Member
|
Thanks for the reply Ahmed
I tried running the code you presented, but the SALOME_5.1.2 directory doesnt exist within salome_5.1.2. I deleted my old install, downloaded a fresh copy, and installed it. This time the install had an error in which libgfortran.so.1 failed to be installed. However, I was able to run the program once! Just before I clicked finish on the install it gave me the option to launch! Unfortuantly the libgfortran.so.1 issue prevented me from trying out anything other than the geometery. I will have to fix that issue, but the current problem still stands; Where is the "exe"? I still dont know how to start it. I ran a locate for runSalome and found lots under kernal. I tried running every single one with no success. It shouldn't be an issue with my install because I a saw it run once. Thoughts? Thanks again |
|
October 18, 2009, 06:26 |
|
#4 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
the salome folder
|
|
October 18, 2009, 06:28 |
|
#5 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
The SALOME folder
|
|
October 18, 2009, 06:31 |
|
#6 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
The bin folder and finally the salome folder (and runSalome script)
|
|
October 18, 2009, 16:59 |
|
#7 |
Senior Member
|
Ahmed, thanks for attaching print screens. I wish i could say that they helped. The directory does not exist.
Perhaps our installs are not the same. I am running Ubuntu 9.0.4. I downloaded the Debian 4.0 Etch 32bit version of Salome 5.1.2 from www.salome-platform.org Do you think my install is to blame? Should I try installing a different version? Thanks for your help |
|
October 18, 2009, 17:05 |
|
#8 |
Senior Member
|
Here is the output from a locate on runSalome:
eric@eric-desktop:~$ locate runSalome /home/eric/salome_5.1.2/CALCULATOR_5.1.2/bin/salome/myrunSalome.py /home/eric/salome_5.1.2/CALCULATOR_SRC_5.1.2/bin/myrunSalome.py /home/eric/salome_5.1.2/DOCUMENTATION_SRC_5.1.2/KERNEL/doc/salome/gui/KERNEL/namespacerunSalome.html /home/eric/salome_5.1.2/HELLO_5.1.2/bin/salome/myrunSalome.py /home/eric/salome_5.1.2/HELLO_SRC_5.1.2/bin/myrunSalome.py /home/eric/salome_5.1.2/KERNEL_5.1.2/bin/salome/runSalome /home/eric/salome_5.1.2/KERNEL_5.1.2/bin/salome/runSalome.csh /home/eric/salome_5.1.2/KERNEL_5.1.2/bin/salome/runSalome.ksh /home/eric/salome_5.1.2/KERNEL_5.1.2/bin/salome/runSalome.py /home/eric/salome_5.1.2/KERNEL_5.1.2/bin/salome/runSalome.pyc /home/eric/salome_5.1.2/KERNEL_5.1.2/bin/salome/runSalome.pyo /home/eric/salome_5.1.2/KERNEL_5.1.2/share/doc/salome/gui/KERNEL/namespacerunSalome.html /home/eric/salome_5.1.2/KERNEL_SRC_5.1.2/bin/runSalome /home/eric/salome_5.1.2/KERNEL_SRC_5.1.2/bin/runSalome.csh /home/eric/salome_5.1.2/KERNEL_SRC_5.1.2/bin/runSalome.ksh /home/eric/salome_5.1.2/KERNEL_SRC_5.1.2/bin/runSalome.py /home/eric/salome_5.1.2/PYHELLO_5.1.2/bin/salome/myrunSalome.py /home/eric/salome_5.1.2/PYHELLO_SRC_5.1.2/bin/myrunSalome.py /home/eric/salome_5.1.2/YACS_5.1.2/bin/HXX2SALOME_Test/HXX2SALOME_GENERIC_CLASS_NAME_SRC/bin/runSalome.py /home/eric/salome_5.1.2/YACS_SRC_5.1.2/src/wrappergen/bin/HXX2SALOME_GENERIC_CLASS_NAME_SRC/bin/runSalome.py /home/eric/salome_5.1.2/YACS_SRC_5.1.2/src/wrappergen/src/HXX2SALOME_GENERIC_CLASS_NAME_SRC/bin/runSalome.py I have attempted to run every single one with no luck. |
|
October 18, 2009, 19:06 |
|
#9 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
No, it is the same file you downloaded,i.e.,InstallWizard_5.1.2_Debian_4.0,
I guess you did not check the box saying (Install all in the same directory), I do not think this is the reason, you see, you NEED to source the environmental variables before running the runSalome binary, so, do this, in the script I printed before, change the line that says cd SALOME_5.1.2 to cd KERNEL_5.1.2 It should work .........................................Open Source for ever.............................................. .... |
|
October 18, 2009, 21:15 |
|
#10 |
Senior Member
|
Your awesome Ahmed! Thanks!
Salome starts up just great. For anyone else referenceing the forum; I used the code: #! /bin/bash cd salome_5.1.2 source env_products.sh cd KERNEL_5.1.2 cd bin cd salome ./runSalome I put the code in a text file and saved. Right clicked and set allow executing file as program under permissions. Viola! One double click and Salome opens Thanks Ahmed! Now on to fix my installation... |
|
Tags |
how to run opencascade |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CAD formats] Creating waterproof STL using snappyHexMesh or salome | Tobi | OpenFOAM Meshing & Mesh Conversion | 58 | May 13, 2020 06:01 |
Salome cgns format mesh to SU2 | JPBLourenco | SU2 | 19 | November 18, 2019 02:11 |
[Gmsh] How to install OpenCASCADE for Gmsh 3.0.6 ? | deepbandivadekar | OpenFOAM Meshing & Mesh Conversion | 1 | June 13, 2018 05:31 |
[Salome] SALOME : How to define several CellZone | utawalpa | OpenFOAM Meshing & Mesh Conversion | 0 | March 23, 2018 13:19 |
salome, openfoam and moving mesh | prhlava | OpenFOAM Running, Solving & CFD | 8 | November 9, 2009 08:59 |