| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@822 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It follows the way MPI was added with "extras".
So, to make a configuration be compiled with debug, say
make DEBUG=ALL <configname>
if fact, now you could say DEBUG=whatevershiticomeup and it's going to work
the same... but we will add DEBUG=FORTRAN,C,ALL etc... support in the future.
- Joan
git-svn-id: http://svn.cactuscode.org/flesh/trunk@810 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
libraries.
Change GLOBUS_DIR to GLOBUS_LIB_DIR to make it explicit that this is the
directory in which the appropriate globus libraries are.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@774 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
stuff. So now cahnged the the MPI NATIVE script so it doesn't set a
variable to empty if it has already been set.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@755 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
other
extra packages, e.g. PVM, without having to rerun autoconf.
Basically 'configure' now looks in a directory called
'extras', and for every subdirectory of that is checks for the presence
of an executable file call 'setup.sh' which can do configuration stuff.
'setup.sh' should put extra definitions in a file called 'cctk_extradefs.h'
and extra make stuff in 'make.extra.defn'. To help this process
there is a function
CCTK_WriteLine
which takes two arguments, the name of the file, and what to write. E.g.
CCTK_WriteLine cctk_extradefs.h "#define MPI"
and
CCTK_WriteLine make.extra.defn 'LIBS += $(MPI_LIBS)'
with the usual shell expansions happening.
To help search for files and things there is function
CCTK_Search
which takes four arguments
- the name of a variable
- a list of names
- a filename
- an (optional) basename
E.g.
CCTK_Search MPI_DEVICE "ch_shmem ch_p4 globus" lib $MPICH_DIR/build
would look for directories called ch_shmem or ch_p4 or globus containing a file or directory
called 'lib' and all this would be done in the directory $MPICH_DIR/build. On return from the
function the value of MPI_DEVICE would be ch_shmem, ch_p4, globus, or empty depending on which
one was found first.
So, to add an optional extra package:
- add a directory with its name under lib/make/extras
- in this directory add an executable shell file called setup.sh
- in this file check if the extra thing is enabled, check for any configuration things
and add them to cctk_extradefs.h or make.extra.defn as necessary.
Note you will need to do a
cvs update -d
to get the new directories I've just added.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@752 17b73243-c579-4c4c-a9d2-2d5706c11dac
|