CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

How to hotwire Salome or OpenCascade?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 17, 2009, 01:56
Default How to hotwire Salome or OpenCascade?
  #1
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 112
Rep Power: 7
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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!
ericnutsch is offline   Reply With Quote

Old   October 17, 2009, 02:33
Default
  #2
Senior Member
 
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 248
Rep Power: 9
Ahmed is on a distinguished road
Quote:
Originally Posted by ericnutsch View Post
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!
What do you mean by the "on switch" "hotwire" etc...
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
Ahmed is offline   Reply With Quote

Old   October 17, 2009, 18:00
Default
  #3
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 112
Rep Power: 7
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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
ericnutsch is offline   Reply With Quote

Old   October 18, 2009, 06:26
Default
  #4
Senior Member
 
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 248
Rep Power: 9
Ahmed is on a distinguished road
the salome folder
Attached Images
File Type: jpg salome_5.1.2.jpg (27.5 KB, 20 views)
Ahmed is offline   Reply With Quote

Old   October 18, 2009, 06:28
Default
  #5
Senior Member
 
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 248
Rep Power: 9
Ahmed is on a distinguished road
The SALOME folder
Attached Images
File Type: jpg SALOME_5.1.2.jpg (21.5 KB, 8 views)
Ahmed is offline   Reply With Quote

Old   October 18, 2009, 06:31
Default
  #6
Senior Member
 
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 248
Rep Power: 9
Ahmed is on a distinguished road
The bin folder and finally the salome folder (and runSalome script)
Attached Images
File Type: png bin.png (27.4 KB, 5 views)
File Type: png salome.png (39.7 KB, 6 views)
Ahmed is offline   Reply With Quote

Old   October 18, 2009, 16:59
Default
  #7
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 112
Rep Power: 7
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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
ericnutsch is offline   Reply With Quote

Old   October 18, 2009, 17:05
Default
  #8
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 112
Rep Power: 7
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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.
ericnutsch is offline   Reply With Quote

Old   October 18, 2009, 19:06
Default
  #9
Senior Member
 
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 248
Rep Power: 9
Ahmed is on a distinguished road
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.............................................. ....
Ahmed is offline   Reply With Quote

Old   October 18, 2009, 21:15
Smile
  #10
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 112
Rep Power: 7
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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...
ericnutsch is offline   Reply With Quote

Reply

Tags
how to run opencascade

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
salome, openfoam and moving mesh prhlava OpenFOAM Running, Solving & CFD 8 November 9, 2009 09:59
A question about geometry Salome Pre/Post processor Ahmed Main CFD Forum 0 May 2, 2009 10:24
Compiling with OpenCascade sega Open Source Meshers: Gmsh, Netgen, CGNS, ... 4 September 22, 2008 13:23
SimpleFoam error with mesh imported from salome matteo OpenFOAM Running, Solving & CFD 9 January 2, 2008 05:04
Salome 321 and UNV micpage18 Open Source Meshers: Gmsh, Netgen, CGNS, ... 28 September 12, 2006 19:17


All times are GMT -4. The time now is 22:45.