1 : |
tsscds |
30 |
AC_INIT([tsscds], [1.1], [emilio.nunez@usc.es],[tsscds-SOURCE])
|
2 : |
baaden |
3 |
AM_INIT_AUTOMAKE
|
3 : |
|
|
AC_CONFIG_SRCDIR([src/bbfs.f90])
|
4 : |
baaden |
14 |
AC_PREFIX_DEFAULT([$HOME/AC_PACKAGE_NAME-AC_PACKAGE_VERSION])
|
5 : |
baaden |
3 |
AC_PROG_AWK
|
6 : |
|
|
AC_PROG_LN_S
|
7 : |
baaden |
4 |
AC_PROG_CC
|
8 : |
|
|
AC_PROG_FC([gfortran])
|
9 : |
|
|
AC_PROG_F77([gfortran])
|
10 : |
tsscds |
7 |
|
11 : |
|
|
AC_CHECK_PROG(PARALLELS_CHECK,parallel,yes)
|
12 : |
|
|
if test x"$PARALLELS_CHECK" != x"yes" ; then
|
13 : |
|
|
AC_MSG_ERROR([Please install GNU Parallel package before proceeding.])
|
14 : |
|
|
fi
|
15 : |
|
|
|
16 : |
|
|
#AC_CHECK_PROG(MODULES_CHECK,modulecmd,yes)
|
17 : |
|
|
#if test x"$MODULES_CHECK" != x"yes" ; then
|
18 : |
|
|
# AC_MSG_ERROR([Please install environment modules package before proceeding.])
|
19 : |
|
|
#fi
|
20 : |
|
|
|
21 : |
|
|
|
22 : |
|
|
|
23 : |
baaden |
4 |
AC_CONFIG_FILES([Makefile])
|
24 : |
|
|
AC_OUTPUT([ src/Makefile \
|
25 : |
|
|
src/HL/Makefile\
|
26 : |
|
|
scripts/Makefile\
|
27 : |
|
|
scripts/CATscripts/Makefile\
|
28 : |
|
|
scripts/HLscripts/Makefile\
|
29 : |
|
|
scripts/MOPAC_DEV/Makefile\
|
30 : |
|
|
docs/Makefile\
|
31 : |
|
|
modules/Makefile\
|
32 : |
tsscds |
6 |
examples/Makefile \
|
33 : |
|
|
share/Makefile \
|
34 : |
|
|
share/CAT/Makefile])
|
35 : |
baaden |
3 |
|
36 : |
tsscds |
8 |
AC_MSG_NOTICE([
|
37 : |
|
|
|
38 : |
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
39 : |
tsscds |
29 |
*********************************************************
|
40 : |
|
|
Make sure that you have installed "Environment Modules"
|
41 : |
|
|
|
42 : |
|
|
Then you could add the following to your .bash_profile:
|
43 : |
|
|
|
44 : |
|
|
module use $prefix/modules
|
45 : |
|
|
|
46 : |
|
|
*********************************************************
|
47 : |
tsscds |
8 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
48 : |
|
|
|
49 : |
|
|
])
|