ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/util/ecnUtil/bashrc.partial
Revision: 4
Committed: Tue Jun 12 19:51:29 2007 UTC (17 years, 11 months ago)
File size: 1554 byte(s)
Log Message:

File Contents

# User Rev Content
1 4 #.bashrc
2    
3     #### CVS stuff
4     export CVS_RSH=ssh
5     export CVSEDITOR="emacs"
6    
7     #### gmsh stuffs
8     export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:$LD_LIBRARY_PATH
9    
10     #### path stuff
11     PATH=$PATH:$HOME/bin:$DEVROOT/Util/ecnUtil:.
12     export PATH
13    
14    
15     #### crontab stuff
16     export VISUAL=emacs
17    
18    
19     #### config Zebulon
20     if [[ $HOSTNAME == "blois" || $HOSTNAME == "blois.ec-nantes.fr" ]];
21     then
22     export Z7PATH=/appli/Zebulon
23     if [ -f ${Z7PATH}/lib/Z7_profile ]
24     then
25     source ${Z7PATH}/lib/Z7_profile
26     fi
27     fi
28    
29    
30     ######
31     alias cdd="cd $DEVROOT"
32     alias expxfem="export CVSROOT=:ext:$USER@cvs.ec-nantes.fr:/usr/local/cvs/public/chrooted-cvs/cvs"
33     alias exputil="export CVSROOT=:ext:$USER@cvs.ec-nantes.fr:/usr/local/cvs/public/chrooted-cvs/cvs"
34     alias expxext="export CVSROOT=:ext:$USER@cvs.ec-nantes.fr:/usr/local/cvs/ecn/chrooted-cvs/cvs"
35     alias expxcrack="export CVSROOT=:ext:$USER@cvs.ec-nantes.fr:/usr/local/cvs/fissure/chrooted-cvs/cvs"
36     alias expapplis="export CVSROOT=:ext:$USER@cvs.ec-nantes.fr:/usr/local/cvs/ecn/chrooted-cvs/cvs"
37    
38    
39     #the lines below should be in x86_64_linux of the config folder of
40     # buildUtil but we never succeeded to make it work there
41     ARCH=`arch`
42     if [ "$ARCH" = "x86_64" ]; then
43     export RUN="rsh node3 \"cd \`pwd\`; echo \"aaaaa\"; \$(MPIHOME)/bin/mpirun -np \$(NPROC)"
44     export POST_RUN=\"
45     export BATCH_COMMAND='qsub -l nodes=`expr $(NPROC) / 2`:ppn=2 -M $(USER)@nymphe -m aeb -r n -j oe -q short -N BuildUtil'
46     export BATCH_SCRIPT="\"cd \`pwd\`;\$(MPIHOME)/bin/mpirun \
47     -np \$(NPROC) -machinefile \\\$\$PBS_NODEFILE ./main data/main.dat \""
48     #echo $RUN
49     #echo $POST_RUN
50     fi