diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-11-04 18:31:34 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-11-04 18:31:34 +0000 |
commit | c8dd9f443407241dd1eec71427b3ce433fae1195 (patch) | |
tree | 443e61d449ac4729e28e4b4f04008c0a41d61065 /doc/FAQ | |
parent | bb8ca3147ebb3ef28451b168be78bf8650b92492 (diff) |
Two more entries
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3020 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/FAQ')
-rw-r--r-- | doc/FAQ | 36 |
1 files changed, 35 insertions, 1 deletions
@@ -1,7 +1,7 @@ Cactus Code Frequently Asked Questions -$Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/doc/FAQ,v 1.50 2002-10-08 20:15:04 allen Exp $ +$Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/doc/FAQ,v 1.51 2002-11-04 18:31:34 allen Exp $ Also available at http://www.cactuscode.org/Documentation/FAQ @@ -133,6 +133,8 @@ C28 On linking I get an "unresolved text symbol" for a scheduled function C29 (Linux) Using the Intel Fortran compiler I get the error "/usr/bin/ld cannot find -lintrins" on linking. +C30 Why can't I use different F90 and F77 compilers with Cactus? + ------------------------------------------------------------------------------ Running: @@ -199,6 +201,11 @@ E7 If I have two grid array groups with identical sizes (and ghost zones, E8 Is there anyway to only compile certain lines of source code if a particular thorn is in the compiled ThornList? +E9 How can I find out in make.configuration.defn, whether MPI is being + used or not? + +E10 How can I see in source code whether MPI is being used? + ------------------------------------------------------------------------------ General @@ -1039,6 +1046,33 @@ E8 Is there anyway to only compile certain lines of source code if a Add a comment to your README/Documentation.tex to remind yourself, and others of what you have done. +E9 How can I find out in make.configuration.defn, whether MPI is being + used or not? The thorn EllPETSc checks whether the makefile variable + MPI_LIBS is empty. This doesn't work on systems where using MPI does + not require any explicitely specified libraries, such as when using the + mpicc script to compile. Is there a better way? + + You can grep for MPI in the file + + configs/<your_config>/config-data/cctk_Extradefs.h + + see for example CactusPUGHIO/IOPanda/src/make.configuration.deps + + if test -z "`grep CCTK_MPI $(CONFIG)/cctk_Extradefs.h`" ; then + echo "IOPanda requires MPI"; \ + exit 2; \ + fi + +E10 How can I see in source code whether MPI is being used? + + Check whether the preprocessor macro CCTK_MPI exists, for example, + + #ifdef CCTK_MPI + /* Only included if MPI is being used */ + #else + /* Only included if MPI is *not* being used */ + #endif + ------------------------------------------------------------------------------ General |