1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/science/ncs/files/patch-bin_cs_profile
Thierry Thomas d3f07698a5 Upgrade Code_Saturne to 1.3.2.
Code_Saturne 1.3.2 contains important corrections in the extended
neighbourhood (used for gradient calculation with options IMRGRA=2 and 3
and for the LES dynamic model), in the steady-state algorithm and for
rotation periodicity. Therefore it is strongly advised to upgrade to
version 1.3.2.  Earlier releases of version 1.3 (especially versions 1.3.f
and 1.3.1) are considered obsolete and have been removed from the website.

Note: the pdf handbooks don't build at the moment, but they are
available from the Code_Saturne's main site.
2008-04-30 22:14:12 +00:00

35 lines
1.0 KiB
Plaintext

--- bin/cs_profile.orig 2008-04-23 11:32:09.000000000 +0200
+++ bin/cs_profile 2008-04-29 23:35:23.000000000 +0200
@@ -37,12 +37,17 @@
# Versions Code_saturne
- PATHCS=/home/saturne
+ PATHCS=%%LOCALBASE%%/Saturne
+
+ 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
- CS_HOME=${PATHCS}/Noyau/ncs-1.3.2
- ECS_HOME=${PATHCS}/Enveloppe/ecs-1.3.2
- CSGUI_HOME=${PATHCS}/Interface/ics-1.3.2
- SYRCS_HOME=${PATHCS}/opt/syr_cs-2.0.2
#
# Path
PATH=$CS_HOME/bin:$ECS_HOME/bin:$PATH
@@ -52,5 +57,7 @@
export PATH
# Chemins et librairies pour MPI
- CS_MPI_PATH=/home/saturne/opt/openmpi-1.2.6/arch/Linux/bin
+ MPI_HOME=%%MPI_HOME%% ; export MPI_HOME
+ MPI_LIBS=%%MPI_LIBS%% ; export MPI_LIBS
+ CS_MPI_PATH=${MPI_HOME}/bin
export CS_MPI_PATH