mld2p4:
Makefile mkdir.sh Fixed install target in makefile. Deleted Make.inc, should only be generated on-the-fly.stopcriterion
parent
7ead412062
commit
338679aa63
@ -1,51 +0,0 @@
|
||||
##########################################################
|
||||
# #
|
||||
# Note: directories external to the MLD2P4 subtree #
|
||||
# must be specified here with absolute pathnames #
|
||||
# #
|
||||
##########################################################
|
||||
PSBLASDIR=/home/sfilippo/NUMERICAL/PSBLAS2/psblas2-dev/
|
||||
include $(PSBLASDIR)/Make.inc
|
||||
|
||||
|
||||
INSTALL=/usr/bin/install -c
|
||||
INSTALL_DATA=${INSTALL} -m 644
|
||||
INSTALL_DIR=/usr/local/PSBLAS/MLD2P4/gnu43
|
||||
INSTALL_LIBDIR=/usr/local/PSBLAS/MLD2P4/gnu43/lib
|
||||
INSTALL_INCLUDEDIR=/usr/local/PSBLAS/MLD2P4/gnu43/include
|
||||
|
||||
##########################################################
|
||||
# #
|
||||
# Additional defines and libraries for multilevel #
|
||||
# Note that these libraries should be compatible #
|
||||
# (compiled with) the compilers specified in the #
|
||||
# PSBLAS main Make.inc #
|
||||
# #
|
||||
# Examples: #
|
||||
# UMFLIBS=-lumfpack -lamd -L/path/to/UMFPACK #
|
||||
# UMFFLAGS=-DHave_UMF_ -I/path/to/UMFPACK #
|
||||
# #
|
||||
# SLULIBS=-lslu -L/path/to/SuperLU #
|
||||
# SLUFLAGS=-DHave_SLU_ -I/path/to/SuperLU #
|
||||
# #
|
||||
# SLUDISTLIBS=-lslud -L/path/to/SuperLUDist #
|
||||
# SLUDISTFLAGS=-DHave_SLUDist_ -I/path/to/SuperLUDist #
|
||||
# #
|
||||
##########################################################
|
||||
|
||||
SLULIBS=
|
||||
SLUFLAGS=
|
||||
|
||||
SLUDISTLIBS=
|
||||
SLUDISTFLAGS=
|
||||
|
||||
|
||||
UMFLIBS=-lumfpack -lamd -L/home/sfilippo/LIB/Umfpack_gcc41/
|
||||
UMFFLAGS=-DHave_UMF_ -I/home/sfilippo/LIB/Umfpack_gcc41/
|
||||
|
||||
|
||||
LDLIBS=$(SLULIBS) $(SLUDISTLIBS) $(UMFLIBS) $(PSBLDLIBS)
|
||||
|
||||
#
|
||||
CDEFINES=$(SLUFLAGS) $(UMFFLAGS) $(SLUDISTFLAGS) $(PSBCDEFINES)
|
||||
FDEFINES=$(PSBFDEFINES)
|
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
dir=$1;
|
||||
|
||||
dir_cmp=`echo $dir | sed 's./. /.g'`
|
||||
if [ ! -d $dir ]
|
||||
then
|
||||
path=''
|
||||
for cmp in $dir_cmp ; do
|
||||
path="$path$cmp";
|
||||
if [ ! -d $path ] ; then
|
||||
mkdir $path; rc=$?;
|
||||
if [ $rc != 0 ] ; then
|
||||
echo "Error while making directory $path "
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue