How to hotwire Salome or OpenCascade?
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! |
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 |
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 |
1 Attachment(s)
the salome folder
|
1 Attachment(s)
The SALOME folder
|
2 Attachment(s)
The bin folder and finally the salome folder (and runSalome script)
|
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 |
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. |
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.............................................. .... |
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... |
All times are GMT -4. The time now is 02:13. |