[cig-commits] r18988 - seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER
rietmann at geodynamics.org
rietmann at geodynamics.org
Thu Sep 29 02:34:30 PDT 2011
Author: rietmann
Date: 2011-09-29 02:34:30 -0700 (Thu, 29 Sep 2011)
New Revision: 18988
Added:
seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/remake_makefiles.sh
Log:
added script to help build and extend configure scripts
Added: seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/remake_makefiles.sh
===================================================================
--- seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/remake_makefiles.sh (rev 0)
+++ seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/remake_makefiles.sh 2011-09-29 09:34:30 UTC (rev 18988)
@@ -0,0 +1,12 @@
+#!/bin/bash
+rm -r autom4te.cache
+aclocal -I ./m4/
+echo "autoconf!"
+autoconf configure.ac > test_conf
+if [ $? -eq 0 ]
+then
+ echo "configure!"
+ chmod +x ./test_conf
+ # example on guinan, which has "normal" defaults for a workstation or server
+ ./test_conf MPIFC=mpif90 FC=mpif90 CUDA_LIB="-L/usr/local/cuda/lib64/" MPI_INC="-I/usr/include/mpich2/" --with-cuda CUDA_INC="-I/usr/local/cuda/include"
+fi
Property changes on: seismo/3D/SPECFEM3D/branches/SPECFEM3D_SUNFLOWER/remake_makefiles.sh
___________________________________________________________________
Name: svn:executable
+ *
More information about the CIG-COMMITS
mailing list