Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1559 | Rev 1567 |
|---|---|
| Line 28... | Line 28... |
echo "********************************************************************"; \ |
echo "********************************************************************"; \ |
echo " Error during compile, check ${PETSC_ARCH}/conf/make.log"; \ |
echo " Error during compile, check ${PETSC_ARCH}/conf/make.log"; \ |
echo " Send all contents of ${PETSC_ARCH}/conf to slepc-maint@grycap.upv.es";\ |
echo " Send all contents of ${PETSC_ARCH}/conf to slepc-maint@grycap.upv.es";\ |
echo "********************************************************************"; \ |
echo "********************************************************************"; \ |
exit 1; \ |
exit 1; \ |
elif [ "${SLEPC_INSTALL_DIR}" == "${SLEPC_DIR}/${PETSC_ARCH}" ]; then \ |
|
echo "Now to check if the libraries are working do: make test";\ |
|
echo "=========================================";\ |
|
else \ |
else \ |
${OMAKE} shared_install 2>&1 | tee -a ${PETSC_ARCH}/conf/make.log ;\ |
echo "Now to install the libraries do: make install";\ |
echo "=========================================";\ |
|
fi |
fi |
all_build: chk_petsc_dir chk_slepc_dir chklib_dir info deletelibs build shared_nomesg_noinstall |
all_build: chk_petsc_dir chk_slepc_dir chklib_dir info deletelibs build shared_nomesg_noinstall |
# |
# |
# Prints information about the system and version of SLEPc being compiled |
# Prints information about the system and version of SLEPc being compiled |
| Line 221... | Line 225... |
cp -f include/finclude/*.h ${SLEPC_INSTALL_DIR}/include/private;\ |
cp -f include/finclude/*.h ${SLEPC_INSTALL_DIR}/include/private;\ |
if [ ! -d ${SLEPC_INSTALL_DIR}/conf ]; then \ |
if [ ! -d ${SLEPC_INSTALL_DIR}/conf ]; then \ |
${MKDIR} ${SLEPC_INSTALL_DIR}/conf ; \ |
${MKDIR} ${SLEPC_INSTALL_DIR}/conf ; \ |
fi;\ |
fi;\ |
cp -f conf/slepc_common* ${SLEPC_INSTALL_DIR}/conf;\ |
cp -f conf/slepc_common* ${SLEPC_INSTALL_DIR}/conf;\ |
cp -f conf/slepc_common_variables_install ${SLEPC_INSTALL_DIR}/conf/slepc_common_variables;\ |
|
cp -f ${PETSC_ARCH}/conf/slepcvariables ${SLEPC_INSTALL_DIR}/conf;\ |
cp -f ${PETSC_ARCH}/conf/slepcvariables ${SLEPC_INSTALL_DIR}/conf;\ |
if [ ! -d ${SLEPC_INSTALL_DIR}/lib ]; then \ |
if [ ! -d ${SLEPC_INSTALL_DIR}/lib ]; then \ |
${MKDIR} ${SLEPC_INSTALL_DIR}/lib ; \ |
${MKDIR} ${SLEPC_INSTALL_DIR}/lib ; \ |
fi;\ |
fi;\ |
if [ -d ${PETSC_ARCH}/lib ]; then \ |
if [ -d ${PETSC_ARCH}/lib ]; then \ |
cp -f ${PETSC_ARCH}/lib/* ${SLEPC_INSTALL_DIR}/lib;\ |
cp -f ${PETSC_ARCH}/lib/* ${SLEPC_INSTALL_DIR}/lib;\ |
${RANLIB} ${SLEPC_INSTALL_DIR}/lib/*.a ;\ |
${RANLIB} ${SLEPC_INSTALL_DIR}/lib/*.a ;\ |
${OMAKE} PETSC_ARCH="" SLEPC_DIR=${SLEPC_INSTALL_DIR} INSTALL_LIB_DIR=${SLEPC_INSTALL_DIR} shared; \ |
${OMAKE} PETSC_ARCH="" SLEPC_DIR=${SLEPC_INSTALL_DIR} shared; \ |
fi;\ |
fi;\ |
echo "If using sh/bash, do the following:";\ |
echo "If using sh/bash, do the following:";\ |
echo " SLEPC_DIR="${SLEPC_INSTALL_DIR}"; export SLEPC_DIR";\ |
echo " SLEPC_DIR="${SLEPC_INSTALL_DIR}"; export SLEPC_DIR";\ |
echo " unset PETSC_ARCH";\ |
echo " unset PETSC_ARCH";\ |
echo "If using csh/tcsh, do the following:";\ |
echo "If using csh/tcsh, do the following:";\ |
echo " setenv SLEPC_DIR "${SLEPC_INSTALL_DIR};\ |
echo " setenv SLEPC_DIR "${SLEPC_INSTALL_DIR};\ |
echo " unsetenv PETSC_ARCH";\ |
echo " unsetenv PETSC_ARCH";\ |
echo "Now run the testsuite to verify the install with the following:";\ |
echo "Run the following to verify the install (remain in current directory for the tests):";\ |
echo " make test";\ |
echo " make test";\ |
fi; |
fi; |
# ------------------------------------------------------------------ |
# ------------------------------------------------------------------ |
# |
# |