blob: aae5092eeda6b6b0d54b7602ca0c56936e23c98d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
--- bin/cs_profile.orig Thu Mar 1 12:23:39 2007
+++ bin/cs_profile Tue May 8 15:34:20 2007
@@ -48,18 +48,33 @@
if [ "$NOM_ARCH" = "OSF1" -o "$NOM_ARCH" = "Linux_CCRT" ] ; then
PATHCS=/home/saturne/Saturne
- elif [ "$NOM_ARCH" = "Blue_Gene_L" ] ; then
+ elif [ "$NOM_ARCH" = "FreeBSD" ] ; then
+ PATHCS=%%LOCALBASE%%/Saturne
+ elif [ "$NOM_ARCH" = "Blue_Gene_L" ] ; then
PATHCS=/gpfs2/home/saturne
else
PATHCS=/home/saturne
fi
- CS_HOME=${PATHCS}/Noyau/ncs-1.3.f
- ECS_HOME=${PATHCS}/Enveloppe/ecs-1.3.c
- CSGUI_HOME=${PATHCS}/Interface/ics-1.1.l
- SYRCS_HOME=${PATHCS}/opt/syr_cs-2.0.1
+ if [ "$NOM_ARCH" = "FreeBSD" ] ; then
+ CS_HOME=${PATHCS}/Noyau/ncs
+ ECS_HOME=${PATHCS}/Enveloppe/ecs
+ CSGUI_HOME=${PATHCS}/Interface/ics
+ SYRCS_HOME=${PATHCS}/opt/syr_cs
+# Variables specifiques a passer au Makefile FreeBSD par lance
+ LOCALBASE=%%LOCALBASE%% ; export LOCALBASE
+ FC=%%FC%% ; export FC
+ PTHREAD_LIBS=%%PTHREAD_LIBS%% ; export PTHREAD_LIBS
+ else
+ CS_HOME=${PATHCS}/Noyau/ncs-1.3.f
+ ECS_HOME=${PATHCS}/Enveloppe/ecs-1.3.c
+ CSGUI_HOME=${PATHCS}/Interface/ics-1.1.l
+ SYRCS_HOME=${PATHCS}/opt/syr_cs-2.0.1
+ fi
#
if [ "$NOM_ARCH" = "Linux" -a -d /home/prevalcs/HOMARD ] ; then
CSHOMARD_HOME=/home/prevalcs/HOMARD
+ elif [ "$NOM_ARCH" = "FreeBSD" ] ; then
+ CSHOMARD_HOME=%%LOCALBASE%%/apps/homard
else
CSHOMARD_HOME=
fi
@@ -70,7 +85,7 @@
# Librairies pour l'interface
if [ "$NOM_ARCH" = "OSF1" -o "$NOM_ARCH" = "Linux_CCRT" ] ; then
LD_LIBRARY_PATH=.:/home/saturne/Saturne/opt/tcl8.3/arch/$NOM_ARCH/lib:/home/saturne/Saturne/opt/libxml2-2.6.19/arch/$NOM_ARCH/lib:$LD_LIBRARY_PATH
- else
+ elif [ "$NOM_ARCH" != "FreeBSD" ] ; then
LD_LIBRARY_PATH=.:/home/saturne/opt/tcl8.3/arch/$NOM_ARCH/lib:/home/saturne/opt/libxml2-2.6.19/arch/$NOM_ARCH/lib:$LD_LIBRARY_PATH
fi
@@ -83,6 +98,10 @@
CS_MPI_PATH=/home/saturne/opt/openmpi-1.1.1/arch/Linux/bin
elif [ "$NOM_ARCH" = "Linux_Ch" ] ; then
CS_MPI_PATH=/usr/local/mpichgm-1.2.6.14b-64b/bin
+ elif [ "$NOM_ARCH" = "FreeBSD" ] ; then
+ MPI_HOME=%%MPI_HOME%% ; export MPI_HOME
+ MPI_LIBS=%%MPI_LIBS%% ; export MPI_LIBS
+ CS_MPI_PATH=${MPI_HOME}/bin
else
CS_MPI_PATH=
fi
|