aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-12-21 13:40:18 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-12-21 13:40:18 +0000
commite185f5af76eb63744e65da30be2816fdef0a5e0a (patch)
tree21dc3ae93693aaca349c2be0261fb3c3be2f29dd /cad
parent265b94cbd985d8325ce685e3a20284d15baf17ad (diff)
downloadports-e185f5af76eb63744e65da30be2816fdef0a5e0a.tar.gz
ports-e185f5af76eb63744e65da30be2816fdef0a5e0a.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/tochnog/Makefile74
-rw-r--r--cad/tochnog/files/patch-makefile6
-rw-r--r--cad/tochnog/files/patch-so_suplu.c13
-rw-r--r--cad/tochnog/files/patch-sysposix.cc33
-rw-r--r--cad/tochnog/pkg-plist408
5 files changed, 285 insertions, 249 deletions
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile
index 5df89c64a942..d1ea7f366de1 100644
--- a/cad/tochnog/Makefile
+++ b/cad/tochnog/Makefile
@@ -3,28 +3,22 @@
PORTNAME= tochnog
PORTVERSION= 20010211
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/feb11_2001
DISTNAME= ${PORTNAME}_feb11_2001
MAINTAINER= ports@FreeBSD.org
-COMMENT= A free explicit/implicit Finite Element Program
+COMMENT= Free explicit/implicit Finite Element Program
-.ifdef WITH_ATLAS
-LIB_DEPENDS= libatlas.so:${PORTSDIR}/math/atlas
-.else
-LIB_DEPENDS= libblas.so:${PORTSDIR}/math/blas
-.endif
BUILD_DEPENDS= ${LOCALBASE}/lib/libf2c.a:${PORTSDIR}/lang/f2c
-.ifdef WITH_THREADS
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu_mt.a:${PORTSDIR}/math/superlu_mt
-.else
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu.a:${PORTSDIR}/math/superlu
-.endif
+
+OPTIONS_DEFINE= ATLAS EXAMPLES THREADS
+ATLAS_DESC= Use ATLAS instead of BLAS/LAPACK
WRKSRC= ${WRKDIR}/${PORTNAME}/src
MAKEFILE= makefile
+USES= fortran
# You can set GIDDIR to share/gid to install the scripts to be used
# with the cad/linux-gid port, otherwise they can be linked to the data
@@ -34,38 +28,36 @@ GIDDIR?= share/${PORTNAME}
PLIST_SUB+= GIDDIR=${GIDDIR}
GID_PTYPES= ${PREFIX}/${GIDDIR}/problemtypes
-.ifdef WITH_ATLAS
-.ifdef WITH_THREADS
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MATLAS}
+LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+.if ${PORT_OPTIONS:MTHREADS}
BLAS_LIBS= -lptf77blas
.else
BLAS_LIBS= -lf77blas
.endif
-.else #BLAS
-BLAS_LIBS?= -lblas
+.else
+LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
+BLAS_LIBS= -lblas
.endif
-.ifdef WITH_THREADS
-SUPERLU= superlu_mt
+.if ${PORT_OPTIONS:MTHREADS}
ALL_TARGET= freebsd_parallel
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu_mt.a:${PORTSDIR}/math/superlu_mt
+SUPERLU= superlu_mt
.else
-SUPERLU= superlu
ALL_TARGET= freebsd_old
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu.a:${PORTSDIR}/math/superlu
+SUPERLU= superlu
.endif
-USE_FORTRAN= yes
-FORTRANLIBS= -lgfortranbegin -lgfortran
-GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
-
-NO_STAGE= yes
-pre-build:
- @${DIRNAME} `${FC} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
+post-patch:
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g ; \
s,%%SUPERLU%%,${SUPERLU},g ; \
- s,%%FORTRANLIBS%%,${FORTRANLIBS},g ; \
- s,%%GCCLIBDIR%%,${GCCLIBDIR},g ; \
s,%%BLAS_LIBS%%,-L${LOCALBASE}/lib ${BLAS_LIBS},g' \
${WRKSRC}/makefile
-.ifdef WITH_THREADS
+.if ${PORT_OPTIONS:MTHREADS}
@${REINPLACE_CMD} -e 's,SUPERLU_MT_USE 0,SUPERLU_MT_USE 1,' \
${WRKSRC}/tnsuplu.h
.else # Serial
@@ -74,23 +66,23 @@ pre-build:
.endif
post-build:
- @(cd ${WRKDIR}/tochnog/tools; ${CXX} ${CXXFLAGS} -o aba2tn aba2tn.cc)
+ (cd ${WRKDIR}/tochnog/tools && ${CXX} ${CXXFLAGS} -o aba2tn aba2tn.cc)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tochnog ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKDIR}/tochnog/tools/aba2tn ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKDIR}/tochnog/tools/*.awk ${PREFIX}/bin
- ${MKDIR} ${GID_PTYPES}/tochnog.gid
+ ${INSTALL_PROGRAM} ${WRKSRC}/tochnog ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/tochnog/tools/aba2tn ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/tochnog/tools/*.awk ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${GID_PTYPES}/tochnog.gid
${INSTALL_DATA} ${WRKDIR}/tochnog/gid/tochnog.gid/tochnog.cnd \
- ${GID_PTYPES}/tochnog.gid
+ ${STAGEDIR}${GID_PTYPES}/tochnog.gid
${INSTALL_DATA} ${WRKDIR}/tochnog/gid/tochnog.gid/tochnog.mat \
- ${GID_PTYPES}/tochnog.gid
+ ${STAGEDIR}${GID_PTYPES}/tochnog.gid
${INSTALL_SCRIPT} ${WRKDIR}/tochnog/gid/tochnog.gid/tochnog.ba* \
- ${GID_PTYPES}/tochnog.gid
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}
- @${RM} -f ${WRKDIR}/tochnog/test/*.orig
- ${INSTALL_DATA} ${WRKDIR}/tochnog/test/* ${EXAMPLESDIR}
+ ${STAGEDIR}${GID_PTYPES}/tochnog.gid
+.if ${PORT_OPTIONS:MEXAMPLES}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${RM} -f ${WRKDIR}/tochnog/test/*.orig
+ ${INSTALL_DATA} ${WRKDIR}/tochnog/test/* ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/cad/tochnog/files/patch-makefile b/cad/tochnog/files/patch-makefile
index 09657bba744c..08ab161e2e98 100644
--- a/cad/tochnog/files/patch-makefile
+++ b/cad/tochnog/files/patch-makefile
@@ -44,7 +44,7 @@
-# SUPERLU_LIB=$(SUPERLU)/superlu.a $(SUPERLU)/blas.a
-# SUPERLU_INCLUDE=-I$(SUPERLU)/SRC
+SUPERLU=%%LOCALBASE%%
-+SUPERLU_LIB=$(SUPERLU)/lib/lib%%SUPERLU%%.a %%BLAS_LIBS%% %%GCCLIBDIR%% %%FORTRANLIBS%%
++SUPERLU_LIB=$(SUPERLU)/lib/lib%%SUPERLU%%.a %%BLAS_LIBS%%
+SUPERLU_INCLUDE=-I$(SUPERLU)/include/%%SUPERLU%%
# 3. For SuperLU_MT be sure to compile a multi threaded version
# of Tochnog (sparc_parallel, alpha_parallel, linux, etc.)
@@ -82,9 +82,9 @@
+ make tochnog \
+ "SYS_FILE=sysposix" \
+ "OBJ=o" \
-+ "COMPILER_FLAGS= -c ${CFLAGS} -D_REENTRANT $(ALL_INCLUDE)" \
++ "COMPILER_FLAGS= -c ${CFLAGS} ${CPPFLAGS} -D_REENTRANT $(ALL_INCLUDE)" \
+ "LINK_FLAGS_BEFORE=" \
-+ "LINK_FLAGS_AFTER= $(ALL_LIB) -pthread -lm -o tochnog"
++ "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) ${LDFLAGS} -pthread -lm -o tochnog"
# multi processor linux; gnu gcc compiler
linux:
diff --git a/cad/tochnog/files/patch-so_suplu.c b/cad/tochnog/files/patch-so_suplu.c
index e865ccc3b0ff..9bd2185c8dd4 100644
--- a/cad/tochnog/files/patch-so_suplu.c
+++ b/cad/tochnog/files/patch-so_suplu.c
@@ -7,7 +7,7 @@
-#include "dsp_defs.h"
+#include "slu_ddefs.h"
#elif SUPERLU_MT_USE
-+#include "util.h"
++#include "slu_mt_util.h"
#include "pdsp_defs.h"
#elif SUPERLU_DIST_USE
#include <math.h>
@@ -30,6 +30,17 @@
#endif
/* Create Matrix A in the format expected by SuperLU */
+@@ -94,8 +100,8 @@
+ nrhs = 1;
+ #if ( SUPERLU_USE || SUPERLU_MT_USE )
+ dCreate_Dense_Matrix( &B, n, nrhs, solve_b, n, DN, _D, GE );
+- if ( !(perm_r = intMalloc(1000+n)) ) ABORT("Not enough memory for SuperLU.");
+- if ( !(perm_c = intMalloc(1000+n)) ) ABORT("Not enough memory for SuperLU.");
++ if ( !(perm_r = intMalloc(1000+n)) ) USER_ABORT("Not enough memory for SuperLU.");
++ if ( !(perm_c = intMalloc(1000+n)) ) USER_ABORT("Not enough memory for SuperLU.");
+ /* Get column permutation vector perm_c[] */
+ perm_spec = 1;
+ get_perm_c( perm_spec, &A, perm_c );
@@ -103,7 +109,9 @@
/* Solve */
diff --git a/cad/tochnog/files/patch-sysposix.cc b/cad/tochnog/files/patch-sysposix.cc
new file mode 100644
index 000000000000..50bbc73408da
--- /dev/null
+++ b/cad/tochnog/files/patch-sysposix.cc
@@ -0,0 +1,33 @@
+--- sysposix.cc.orig
++++ sysposix.cc
+@@ -20,20 +20,20 @@
+ #include "tochnog.h"
+ #include "pthread.h"
+
+-pthread_mutex_t mutex;
++pthread_mutex_t mtx;
+ long int inext=0;
+ pthread_t threads[MTHREAD];
+
+ void parallel_sys_initialize( void )
+
+ {
+- pthread_mutex_init( &mutex, NULL );
++ pthread_mutex_init( &mtx, NULL );
+ }
+
+ void parallel_sys_lock( void )
+
+ {
+- pthread_mutex_lock( &mutex );
++ pthread_mutex_lock( &mtx );
+ }
+
+ void parallel_sys_next_of_loop( long int next_of_loop[], long int max_loop,
+@@ -96,5 +96,5 @@
+ void parallel_sys_unlock( void )
+
+ {
+- pthread_mutex_unlock( &mutex );
++ pthread_mutex_unlock( &mtx );
+ }
diff --git a/cad/tochnog/pkg-plist b/cad/tochnog/pkg-plist
index 9610e3f34162..bdeb705bb42f 100644
--- a/cad/tochnog/pkg-plist
+++ b/cad/tochnog/pkg-plist
@@ -10,207 +10,207 @@ bin/mkgmsh.awk
@dirrm %%GIDDIR%%/problemtypes/tochnog.gid
@dirrm %%GIDDIR%%/problemtypes
@dirrm %%GIDDIR%%
-%%PORTDOCS%%%%EXAMPLESDIR%%/absorp1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/axisym1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/axisym2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/axisym3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/axisym4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/axisym5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/beam2d.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/beam2d_1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/beam2d_2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/beam3d.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/bimet1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/blatz1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/calcul1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/calcul2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/condif1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/condif10.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/condif2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/condif3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/condif5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/condif6.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/condif7.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/condif8.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/condif9.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/conspr1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/conspr2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/conspr3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/conspr4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/contac1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/contac2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/contac3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/contac4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/convec1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/convec2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/crack1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/crack2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/crack3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ctvmis1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ctvmis2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/damage1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/dataput1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/delete1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/dens1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/depend1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/diprisc1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/disk1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/disk2a.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/distri1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/druckpr1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/eigen1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/eigen3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/elasti1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/elasti2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/elasti3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/elasti4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp10.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp11.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp12.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp13.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp14.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp15.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp16.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp17.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp18.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp19.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp20.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp22.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp23.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp24.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp6.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp7.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp8.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/examp9.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/expans1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/expans2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/force1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/force2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/force3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/force4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/force5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/genera1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/genera2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ground1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ground2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ground3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_heat1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_heat2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_mech1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_mech2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_mech3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_mech4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_othr1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_othr2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_othr3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/ho_othr4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/hypo1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/hypo2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/hypo3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/hypo4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/incnav1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/incnav2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/incnav3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/incnav4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/incnav5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/interac1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/inver1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/inver2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/inver3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/makefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/matrix1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/matrix2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/matrix3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/matrix4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/matrix5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/matrix6.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/matrix7.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/matrix8.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/matrix9.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/membran1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/membran2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/merge1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/mohrcou1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/mohrcou2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/mohrcou3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/mohrcou4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/nodfor1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/petsc1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/post1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/post2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/post3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/post4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/post5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/post6.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/pridbs.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/radiate1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/radiate2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/refine1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/refine2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/refine3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/refine4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/refine5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/remesh1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/repeat1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/repeat2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/silo1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/skip1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/slide1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/slope.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/soften1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/spring1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/spring2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/spring3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/spring4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/spring5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/strconv1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/taylor3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/temp1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/temp2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/temp3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/temp4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/temp5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tendon1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tendon10.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tendon2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tendon3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tendon4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tendon6.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tendon7.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tendon8.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tension1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tet10.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/total1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/total2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/total3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/transv1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tria6.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/trubea1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/trubea2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/trubea3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/trubea4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/truss1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/truss2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/truss3.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/truss4.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/truss5.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/truss6.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/truss7.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/trussbea.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/tube1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/update1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/visc_pl1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/visc_pl2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/viscel1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/viscos1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/volume1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/volume2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/vonmis1.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/vonmis2.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/wave1.dat
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/absorp1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/axisym1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/axisym2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/axisym3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/axisym4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/axisym5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam2d.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam2d_1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam2d_2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam3d.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bimet1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/blatz1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calcul1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calcul2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condif1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condif10.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condif2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condif3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condif5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condif6.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condif7.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condif8.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condif9.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conspr1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conspr2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conspr3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conspr4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contac1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contac2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contac3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contac4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/convec1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/convec2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crack1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crack2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crack3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ctvmis1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ctvmis2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/damage1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dataput1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/delete1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dens1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/depend1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diprisc1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/disk1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/disk2a.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distri1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/druckpr1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eigen1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eigen3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elasti1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elasti2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elasti3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elasti4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp10.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp11.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp12.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp13.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp14.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp15.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp16.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp17.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp18.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp19.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp20.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp22.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp23.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp24.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp6.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp7.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp8.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examp9.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/expans1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/expans2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/force1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/force2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/force3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/force4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/force5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/genera1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/genera2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ground1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ground2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ground3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_heat1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_heat2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_mech1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_mech2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_mech3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_mech4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_othr1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_othr2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_othr3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ho_othr4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hypo1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hypo2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hypo3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hypo4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/incnav1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/incnav2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/incnav3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/incnav4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/incnav5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interac1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/inver1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/inver2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/inver3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/matrix1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/matrix2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/matrix3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/matrix4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/matrix5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/matrix6.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/matrix7.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/matrix8.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/matrix9.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/membran1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/membran2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/merge1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mohrcou1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mohrcou2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mohrcou3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mohrcou4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nodfor1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/petsc1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/post1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/post2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/post3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/post4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/post5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/post6.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pridbs.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/radiate1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/radiate2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/refine1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/refine2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/refine3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/refine4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/refine5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/remesh1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/repeat1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/repeat2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/silo1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/skip1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/slide1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/slope.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soften1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spring1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spring2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spring3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spring4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spring5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/strconv1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/taylor3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/temp1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/temp2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/temp3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/temp4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/temp5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tendon1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tendon10.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tendon2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tendon3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tendon4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tendon6.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tendon7.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tendon8.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tension1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tet10.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/total1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/total2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/total3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/transv1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tria6.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/trubea1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/trubea2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/trubea3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/trubea4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss3.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss4.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss5.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss6.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss7.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/trussbea.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tube1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/update1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/visc_pl1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/visc_pl2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viscel1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viscos1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/volume1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/volume2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vonmis1.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vonmis2.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wave1.dat
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%