Skip to content
Snippets Groups Projects
Commit f7a26a7f authored by Boman Romain's avatar Boman Romain
Browse files

import from svn

parent b23e6e72
No related branches found
No related tags found
No related merge requests found
Showing
with 264 additions and 0 deletions
*~
#
# $Id: CMakeLists.txt 2645 2016-05-12 06:29:38Z boman $
#
SET(PYMODULES parametricJob.py
prmClasses.py
prmClassesGui.py
Metafor.png
)
SET(PYSCRIPTS externalProgramPath.py
externalProgramPathGui.pyw
launch.py
launchGui.pyw
)
INSTALL(FILES ${PYMODULES} DESTINATION /)
INSTALL(PROGRAMS ${PYSCRIPTS} DESTINATION /)
Metafor.png

3.9 KiB

This is the ~/bin directory of a linux account
----------------------------------------------
RoBo
INSTALL:
Please, add the following calls to the end of the .bashrc/.profile cfg files
.profile: (PATH and other env vars)
. $HOME/bin/cfg/loop.sh ; fct_loop profile $* ; unset fct_loop
.bashrc: (interactive stuffs)
. ~/bin/cfg/loop.sh ; fct_loop bashrc $* ; unset fct_loop
# this should be done in the .profile but if the shell is dash
# it does not work.
# => we call intel cf file in both places (bashrc & profile)
if [ -z "$MKLROOT" ]; then
. /opt/intel/bin/compilervars.sh intel64
fi
# the .profile is sometimes read by "dash" and we cannot provide
# a sourced script with some parameters (it is a "bashism")
if [ -n "$BASH_VERSION" ]; then
#if [ -z "$MKLROOT" ]; then # pas suffisant! (MKLROOT transmis au "at" mais pas LD_LIBRARY_PATH)
. /opt/intel/bin/compilervars.sh intel64
#fi
fi
PATH=$PATH:/opt/MATLAB/R2012a/bin
# Parasolid
# adds pskernel.so to the PATH
if [ -d /opt/parasolid-28.1/shared_object ] ; then
if [ -z "${PATH}" ] ; then
export PATH="/opt/parasolid-28.1/shared_object"
else
export PATH="/opt/parasolid-28.1/shared_object:${PATH}"
fi
fi
# adds parasolid INCLUDE dir
if [ -d /opt/parasolid-28.1 ] ; then
if [ -z "${INCLUDE}" ] ; then
export INCLUDE="/opt/parasolid-28.1"
else
export INCLUDE="/opt/parasolid-28.1:${INCLUDE}"
fi
fi
export P_SCHEMA=/opt/parasolid-28.1/schema
# Samcef v15.01-3
export SAM_ZONE=200000000
#PATH=$PATH:/opt/SamcefField/V8.5-01
PATH=$PATH:/opt/SamcefField/V8.5-01/Samcef-V151i8/lin/bin
export SAM_USE_FLEXLM=1
export SAMTECH_LICENSE_FILE=@pegase.ltas.ulg.ac.be
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/vtk-5.10.1/lib/vtk-5.10
export LD_LIBRARY_PATH
PYTHONPATH=$PYTHON_PATH:/opt/vtk-5.10.1/lib/python2.7/site-packages
export PYTHONPATH
alias verif='cd ~/dev/oo_meta/apps/verif'
# anciens raccourcis CVS
REP_OE=tintin.ltas.ulg.ac.be:/disc/users/oofelie/Repository
REP_OO=gaston.ltas.ulg.ac.be:/accounts/oofelie/Repository
REP_MT=gaston.ltas.ulg.ac.be:/accounts/metafor/Repository
CVS_RSH=ssh
export CVS_RSH
function cvs_metafor_co
{
cvs -d :ext:$USER@$REP_OO co -P -d oofelie oofelie-4;
cvs -d :ext:$USER@$REP_MT co -P -d oo_meta oo_meta-4;
cvs -d :ext:$USER@$REP_MT co -P oo_nda;
cvs -d :ext:$USER@$REP_MT co -P z_mesh;
cvs -d :ext:$USER@$REP_MT co -P stp2e;
}
export EDITOR=vim
alias vi='vim'
# Fonctions generales
function backup()
{
ARC=backup-profile-bin.tar.gz
REP=`pwd`
cd ~
rm -f $ARC
tar cf - .bashrc .profile .emacs bin | gzip > $ARC
echo "~/$ARC created."
cd $REP
}
function bat()
{
cd /home/$USER/dev
comp.py
}
export OMP_NUM_THREADS=1
# raccourcis SVN
REP_MT=clifton.ltas.ulg.ac.be/home/metafor/SVN
REP_MTLUB=clifton.ltas.ulg.ac.be/home/metafor/SVN2
REP_GIT=clifton.ltas.ulg.ac.be:/home/metafor/GIT
function oo_meta_co
{
svn co svn+ssh://$USER@$REP_MT/oo_meta/trunk oo_meta
}
function oo_nda_co
{
svn co svn+ssh://$USER@$REP_MT/oo_nda/trunk oo_nda
}
function keygen_co
{
git clone $USER@$REP_GIT/keygen.git
}
function mtsetup_co
{
git clone $USER@$REP_GIT/MetaforSetup.git
}
function parasolid_co
{
git clone $USER@$REP_GIT/parasolid.git
}
function linuxbin_co
{
svn co svn+ssh://$USER@$REP_MT/linuxbin linuxbin
}
function metafor_co
{
svn co svn+ssh://$USER@$REP_MT/linuxbin linuxbin
svn co svn+ssh://$USER@$REP_MT/oo_meta/trunk oo_meta
svn co svn+ssh://$USER@$REP_MT/oo_nda/trunk oo_nda
svn co svn+ssh://$USER@$REP_MINE/keygen/trunk keygen
}
# this script adds ~/local
# in several env variables as a local software directory
if [ -d ~/local/bin ] ; then
if [ -z "${PATH}" ] ; then
export PATH="~/local/bin"
else
export PATH="~/local/bin:${PATH}"
fi
fi
if [ -d ~/local/lib ] ; then
if [ -z "${LD_LIBRARY_PATH}" ] ; then
export LD_LIBRARY_PATH="~/local/lib"
else
export LD_LIBRARY_PATH="~/local/lib:${LD_LIBRARY_PATH}"
fi
if [ -z "${LIB}" ] ; then
export LIB="~/local/lib"
else
export LIB="~/local/lib:${LIB}"
fi
fi
if [ -d ~/local/include ] ; then
if [ -z "${LIB}" ] ; then
export INCLUDE="~/local/include"
else
export INCLUDE="~/local/include:${INCLUDE}"
fi
fi
LS_COLORS='di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36'
export LS_COLORS
module load sge
module load cmake samcef swig python qt vtk
module load isosurf gmsh tetgen triangle matlab
module load scilab git
module load gcc
module load mumps gmm trilinos parasolid
# old intel-cluster-studio
#module load intel-tbb
#module load intel-cl-st/compiler/64/12.0/084
#module load intel-cl-st/mkl/64/10.3/084
module load abaqus
module load subversion/1.8.9
# new intel-cluster-studio
. /cm/shared/apps/ics/2013sp1/ics/2013.1.046/ictvars.sh intel64
#. /cm/shared/apps/ics/2013sp1/mkl/bin/mklvars.sh intel64
#. /cm/shared/apps/ics/2013sp1/tbb/bin/tbbvars.sh intel64
# sinon cmake prend /usr/bin/cc même si gcc est dans le PATH!
#export CC=gcc
#export CXX=g++
#export FC=gfortran
export CC=$(which icc)
export CXX=$(which icpc)
export FC=$(which ifort)
# adds DynELA to env variables
if [ -d /home/boman/dev/DynELA/DynELA ] ; then
export DynELA_ROOT=/home/boman/dev/DynELA/DynELA
export DynELA_BIN=$DynELA_ROOT/bin
export DynELA_BASE=$DynELA_ROOT/sources
export DynELA_SAMPLES=$DynELA_ROOT/samples
export PATH=$PATH:$DynELA_BIN
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment