3 #bash script mg-hybrid.bash
4 #we have renamed binary executable mg-hybrid.exe V1.3.0 as mg-hybrid.exe_Linux_64_juillet2014
5 #to assume call of other beta-versions of distene mg-hybrid.exe code in standalone plugin HYBRIDPLUGIN sources
6 #and also assume licence file set to overriding licence file of other distene products ( HEXOTIC, GHS3D, etc... )
7 #all that for for only one call of mg-hybrid.bash from salome plugin HYBRIDPLUGIN
10 #find --out parameter result in $resFindOutFile
11 while test $# -gt 0; do
14 if [ -z "$2" ] # $String is null
30 #echo "mg-hybrid.bash initial parameters are:" $1 $2 $3 $4
31 echo "mg-hybrid.bash initial parameters are:" $*
34 if [[ $HOSTNAME == *hpcspot* ]]
38 HOST="STANDART_CentOs6" #CentOs6 default
42 #we need to licence for mg-hybrid.exe
43 #for example, have to be set
44 #if [ $HOST == "hpcspot" ]
46 # #env openmpi centos6.5 hpcspot.com
47 # export DISTENE_LICENSE_FILE="Use global envvar: DLIM8VAR"
48 # export DLIM8VAR="dlim8 1:1:29030@10.27.51.1/002590c96d98::8fbdc02cde090ca0369ad028e839065b97709e3c33e640eb6a3c2c7e40fe3985"
50 # export DISTENE_LICENSE_FILE="Use global envvar: DLIM8VAR"
51 # export DLIM8VAR="dlim8 1:1:29030@132.166.151.49/84c419b8::87af196ab2a936ab31363624539bff8096fbe1f3c83028c8f6b399b0a904ef85"
54 echo "mg-hybrid.bash assume licence file set:"
58 echo "result output File is:" $resFindOutFile
60 #mg-hybrid.exe_Linux_64_avril2014 --help
61 #mg-hybrid.exe_Linux_64_avril2014 $*
62 mg-hybrid.exe_Linux_64_juillet2014 $*
64 #to EZ and direct debug visualization (with gui salome load script createGroupsOnEntitiesFromGMFFile.py)
65 cp -f $resFindOutFile /tmp/tmp.mesh
67 #ldd `which mg-hybrid.exe_Linux_64_avril2014`
68 # linux-vdso.so.1 => (0x00007fff3bfff000)
69 # libpthread.so.0 => /lib64/libpthread.so.0 (0x000000358b400000)
70 # libm.so.6 => /lib64/libm.so.6 (0x000000358a800000)
71 # libc.so.6 => /lib64/libc.so.6 (0x000000358ac00000)
72 # /lib64/ld-linux-x86-64.so.2 (0x000000358a400000)