Log In | Get Help   
Home My Page Projects Code Snippets Project Openings transition state search using dynamics
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files Wiki
[tsscds] View of /trunk/configure.ac
[tsscds] / trunk / configure.ac Repository:
ViewVC logotype

View of /trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 76 - (download) (annotate)
Thu Jul 20 07:46:54 2017 UTC (6 years, 10 months ago) by tsscds
Original Path: configure.ac
File size: 1808 byte(s)
g09 message in configure
AC_INIT([tsscds], [1.1], [emilio.nunez@usc.es],[tsscds-SOURCE])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/bbfs.f90])
AC_PREFIX_DEFAULT([$HOME/AC_PACKAGE_NAME-AC_PACKAGE_VERSION])
AC_PROG_AWK
AC_PROG_LN_S
AC_PROG_CC
AC_PROG_FC([gfortran])
AC_PROG_F77([gfortran])

AC_CHECK_PROG(PARALLELS_CHECK,parallel,yes)
if test x"$PARALLELS_CHECK" != x"yes" ; then
    AC_MSG_ERROR([Please install GNU Parallel package before proceeding.])
fi

#AC_CHECK_PROG(MODULES_CHECK,modulecmd,yes)
#if test x"$MODULES_CHECK" != x"yes" ; then
#    AC_MSG_ERROR([Please install environment modules package before proceeding.])
#fi
AC_PATH_PROG(svnversioncommand, svnversion)
if test "X$svnversioncommand" = "X" || test "`$svnversioncommand -n '.'`" = "Unversioned directory"; 
then
AC_DEFINE_UNQUOTED(TSSCDS_BUILD, ["`cat share/tsscds_build`"], [repository svn version])
else
AC_DEFINE_UNQUOTED(TSSCDS_BUILD, ["`svnversion -n`"], [repository svn version])
`svnversion -n > share/tsscds_build`
fi

AC_CONFIG_FILES([Makefile])
AC_OUTPUT([ src/Makefile \
	    src/HL/Makefile\
	     scripts/Makefile\
	     scripts/CATscripts/Makefile\
	     scripts/HLscripts/Makefile\
	     scripts/MOPAC_DEV/Makefile\
      	     docs/Makefile\
	     modules/Makefile\
	     examples/Makefile \
	     share/Makefile \
	     share/CAT/Makefile])

AC_MSG_NOTICE([

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
***********************************************************
 1) Make sure that you have installed "Environment Modules"
 Then, you could add the following to your .bash_profile: 

 module use $prefix/modules		 

***********************************************************
 2) Make sure that Gaussian09 is installed and it is 
    invoked as:
 
    g09<input>output 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

])

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge