summaryrefslogtreecommitdiffstats
path: root/french/aster/files
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-07-25 17:27:33 +0000
committeroliver <oliver@FreeBSD.org>2003-07-25 17:27:33 +0000
commit3e7ec941333cfde89fbf52792cb1b263852d2b48 (patch)
treef9f673e54bc41cf22a993c6ded7ca1f725521d35 /french/aster/files
parent29fc13596f9f534ee2a3a5dc90bd04df75a4c3ff (diff)
downloadFreeBSD-ports-3e7ec941333cfde89fbf52792cb1b263852d2b48.zip
FreeBSD-ports-3e7ec941333cfde89fbf52792cb1b263852d2b48.tar.gz
Add aster 7.1, analyse des structures et thermo-mécanique.
EDF R&D has developed for twelve years a numerical simulation software for structural analysis, Code_Aster. Widely used for the expertise and maintenance of power plants and electrical networks, this tool covers a wide range of applications today: thermal and mechanical analysis - 3D linear or non linear, static or dynamic analysis pressure vessels - machines - civil engineering - porous media. (From the press release). This application is in french, but there exists a translated GUI (see the port cad/astk-client). PR: 54766 Submitted by: thierry@pompo.net
Diffstat (limited to 'french/aster/files')
-rw-r--r--french/aster/files/config.txt68
-rw-r--r--french/aster/files/patch-bibc::utilitai::memjob.c14
-rw-r--r--french/aster/files/patch-bibpyt::Execution::E_SUPERV.py29
-rw-r--r--french/aster/files/patch-tcl::run_aster18
4 files changed, 129 insertions, 0 deletions
diff --git a/french/aster/files/config.txt b/french/aster/files/config.txt
new file mode 100644
index 0000000..b5aa9d7
--- /dev/null
+++ b/french/aster/files/config.txt
@@ -0,0 +1,68 @@
+# Configuration file
+# $FreeBSD$
+#
+# Fields are separated by a "|" (the space is significative)
+#
+# Keywords :
+# "LIB " : archiver
+# "BIBL " : librairies linked with Code_Aster (with options -L/-l eventually)
+# "INCL " : C include C for compilation
+# "PYTHON " : Python binary
+# "LINK " : loader command
+# "OPTL " : loader options
+# "CC " : C compiler command
+# "OPTC_D " : C compiler options using DEBUG mode
+# "OPTC_O " : C compiler options using NODEBUG mode
+# "F77 " : Fortran compiler command
+# "OPTF_D " : Fortran compiler options using DEBUG mode
+# "OPTF_O " : Fortran compiler options using NODEBUG mode
+# "G77_AGLA " : used configuration management of EDF version
+# "SUPERV " : Python modules imported from Aster
+# "ARGPYT " : supervisor
+# "ARGEXE " : arguments passed to exec
+#
+LIB | ar | ? | HOME_AR/ar -rv
+#
+BIBL | python | 2.1 | HOME_PYTHON/lib/pythonPYTHON_VERSION/config/libpythonPYTHON_VERSION.a
+BIBL | fpe | ? |
+BIBL | med | 2.1 | OPT_MED
+BIBL | hdf | 5.1 | OPT_HDF
+BIBL | blas | ? | OPT_BLAS
+BIBL | tcl | 8.3 | OPT_TCL
+BIBL | tk | 8.3 | OPT_TK
+BIBL | X11 | ? | OPT_X11
+BIBL | sys | ? | -Xlinker -export-dynamic PTHREAD -lutil -lm -lz
+#
+INCL | python | 2.1 | -IHOME_PYTHON/include/pythonPYTHON_VERSION
+#
+PYTHON | python | 2.1 | HOME_PYTHON/bin/PYTHON_BIN
+#
+LINK | link | ? | %%F77%%
+#
+OPTL | f90 | ? | -v
+#
+CC | cc | ? | %%CC%%
+#
+OPTC_D | cc | ? | -c -g -DP_LINUX
+OPTC_O | cc | ? | -c CFLAGS -DP_LINUX
+#
+F77 | f77 | ? | %%F77%%
+#
+OPTF_D | f90 | ? | -c -g
+OPTF_O | f90 | ? | -c -O2
+#
+G77_AGLA | g77 | ? | %%F77%%
+#
+SUPERV | exec | 03-2002 | Accas
+SUPERV | exec | 03-2002 | Build
+SUPERV | exec | 03-2002 | Execution
+SUPERV | exec | 03-2002 | Macro
+SUPERV | exec | 03-2002 | Noyau
+SUPERV | exec | 03-2002 | Stanley
+SUPERV | exec | 03-2002 | Utilitai
+SUPERV | exec | 03-2002 | Validation
+#
+ARGPYT | exec | 03-2002 | Execution/E_SUPERV.py
+ARGEXE | exec | 03-2002 | -eficas_path ./Eficas
+#
+GZIP | tool | ? | HOME_GZIP/gzip
diff --git a/french/aster/files/patch-bibc::utilitai::memjob.c b/french/aster/files/patch-bibc::utilitai::memjob.c
new file mode 100644
index 0000000..dba04b9
--- /dev/null
+++ b/french/aster/files/patch-bibc::utilitai::memjob.c
@@ -0,0 +1,14 @@
+--- bibc/utilitai/memjob.c.orig Wed Apr 23 11:41:04 2003
++++ bibc/utilitai/memjob.c Tue Jul 1 22:37:31 2003
+@@ -20,9 +20,9 @@
+ extern char g_memory[];
+ #include <string.h>
+ #include <stdio.h>
+-#if defined SOLARIS || IRIX || P_LINUX || TRU64 || SOLARIS64
+-#include <sys/resource.h>
++#if defined SOLARIS || IRIX || P_LINUX || TRU64 || SOLARIS64
+ #include <sys/time.h>
++#include <sys/resource.h>
+ long memjob_(void)
+ #elif defined HPUX
+ #include <sys/resource.h>
diff --git a/french/aster/files/patch-bibpyt::Execution::E_SUPERV.py b/french/aster/files/patch-bibpyt::Execution::E_SUPERV.py
new file mode 100644
index 0000000..b9e3f3f
--- /dev/null
+++ b/french/aster/files/patch-bibpyt::Execution::E_SUPERV.py
@@ -0,0 +1,29 @@
+--- bibpyt/Execution/E_SUPERV.py.orig Wed Apr 23 11:45:33 2003
++++ bibpyt/Execution/E_SUPERV.py Mon Jul 7 22:18:22 2003
+@@ -192,7 +192,7 @@
+ if j.par_lot == 'NON':
+ print "FIN EXECUTION"
+ if j.fico!=None :
+- os.system('cat ./fort.15 ./ficode >> ./fort.15')
++ os.system('cat ./ficode >> ./fort.15')
+ return ier
+
+ # Verification de la validite du jeu de commande
+@@ -272,7 +272,7 @@
+ return 1
+ except EOFError:
+ if j.fico!=None :
+- os.system('cat ./fort.15 ./ficode >> ./fort.15')
++ os.system('cat ./ficode >> ./fort.15')
+ return 0
+ except :
+ self.MESSAGE("ERREUR INOPINEE - INTERRUPTION")
+@@ -298,7 +298,7 @@
+ print ">> JDC.py : FIN RAPPORT"
+
+ if j.fico!=None :
+- os.system('cat ./fort.15 ./ficode >> ./fort.15')
++ os.system('cat ./ficode >> ./fort.15')
+ return ier
+ except :
+ self.MESSAGE("ERREUR INOPINEE - INTERRUPTION")
diff --git a/french/aster/files/patch-tcl::run_aster b/french/aster/files/patch-tcl::run_aster
new file mode 100644
index 0000000..ab0aa34
--- /dev/null
+++ b/french/aster/files/patch-tcl::run_aster
@@ -0,0 +1,18 @@
+--- tcl/run_aster.orig Thu Jun 26 17:57:43 2003
++++ tcl/run_aster Fri Jul 18 23:01:40 2003
+@@ -5,6 +5,7 @@
+ TCLSH=HOME_TCL_TK/bin/TCL_BIN
+ REPTCL=HOME_CODE_ASTER/tcl
+ PYTHONHOME=HOME_PYTHON
++PYTHONPATH=%%PYTHONPATH%%
+
+ # lancement de run_aster
+ # usage : run_aster [-p ncpu] fichier_parametre
+@@ -32,6 +33,7 @@
+ fi
+
+ export PYTHONHOME
++export PYTHONPATH
+
+ OMP_NUM_THREADS=$ncpu
+ export OMP_NUM_THREADS
OpenPOWER on IntegriCloud