summaryrefslogtreecommitdiff
path: root/lib/make/extras/MPI
Commit message (Collapse)AuthorAge
* Added /usr/local/lib/mpich/ to the list of paths to automaticallytradke2001-01-19
| | | | | | | search for an MPICH installation. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2002 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added /usr/lib/mpich/ to the list of paths to automaticallytradke2001-01-08
| | | | | | | | search for an MPICH installation. This fixes BR Compiler 501. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1984 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added search for include/lam and lib/lam so can just dogoodale2000-12-13
| | | | | | | | | | | MPI=LAM when configuring on machines setup in that way (e.g. the rh6.2 rpm installation). Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1942 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Preliminary MPI config file for MPIPro.goodale2000-12-12
| | | | | | | | | Should configure with MPI=MPIPro Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1940 17b73243-c579-4c4c-a9d2-2d5706c11dac
* GRDOC fixes.goodale2000-12-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1939 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Missed a 32 on one library name.goodale2000-12-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1938 17b73243-c579-4c4c-a9d2-2d5706c11dac
* First cut at MPI configuration for HPVM.goodale2000-12-12
| | | | | | | | | Should configure with MPI=HPVM HPVM_DIR='...' Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1937 17b73243-c579-4c4c-a9d2-2d5706c11dac
* LAM libs and includes weren't set in case LAM_DIR was given.tradke2000-10-15
| | | | | | | Thanks to Markus for reporting this bug. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1868 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow the user to set LAM_LIB_DIR LAM_INC_DIR directly.tradke2000-10-11
| | | | | | | Fixes CactusPUGH-PUGH 463. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1864 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed the #define MPI MPI in cctk_Extradefs.h (use CCTK_MPI instead).tradke2000-08-01
| | | | | | | Now C++ code should be able to compile with MPI. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1796 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed configuration for MPICH_DEVICE=globus to support 1.1.x.tradke2000-06-27
| | | | | | | | Now it uses $GLOBUS_LIB_DIR/../etc/Makefile.mpich to obtain the libpaths and libs for Globus. This method should work for all versions of Globus. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1706 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Recommit Tom's changes to support MPICH 1.2 which I've accidently deletedtradke2000-06-15
| | | | | | | at my last commit. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1679 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Corrected order of globus libs so that Cactus is linking properly.tradke2000-06-07
| | | | | | | This is still for the old globus 1.0 stuff. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1677 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bugfix for include dirs for old mpich configs.goodale2000-04-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1598 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support for mpich-1.2.0 .goodale2000-04-19
| | | | | | | | | | | | | | | | Note that the new directory layout in this version of mpich means that it no longer needs MPICH_ARCH or MPICH_DEVICE, although if you specify them it increases the range of directories to look for mpich in. You still need to use MPICH_DEVICE to get the special libraries for globus or myrinet. It still works with the older MPICH version. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1594 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Configuration file for PACX MPI.tradke2000-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1516 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use the NATIVE_MPI_XXX variables from the known-archs stuff heretradke2000-04-04
| | | | | | | | | | to finally set the MPI libs, libdirs, and includedirs. Also test if MPI=NATIVE was selected but the system doesn't provide a native MPI. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1514 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changedallen2000-04-04
| | | | | | | | | | | | | | | | | #define MPI to #define CCTK_MPI CCTK_MPI #define MPI MPI (this one will be removed in beta 8) Now external packages which the flesh knows about will be defined with a CCTK_, to indicate this, but this won't be made fully consistent until the beta8 when there will be improvements to how the external packages are treated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1511 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renaming include files to new names so that MPI works againallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1269 17b73243-c579-4c4c-a9d2-2d5706c11dac
* allows to set MPICH_ARCH on the gmake line, eg. gmake MPICH_ARCH=alphalanfer1999-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1094 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Myrinet and ch_gm.goodale1999-09-28
| | | | | | | | | Put MYRINET_DIR=... to tell it where to find the MYRINET stuff. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1005 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New file for WMPI - an MPI implementation for NT.goodale1999-09-04
| | | | | | | | | | | | | The user needs to set, e.g. WMPI_DIR='c:\Wmpi1.3' or whatever. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@873 17b73243-c579-4c4c-a9d2-2d5706c11dac
* changed MPICH_DEV search order: ch_p4 is before ch_shememlanfer1999-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@822 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a check to see if the pthread library should be added to the globus ↵goodale1999-07-23
| | | | | | | | | | | | 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
* Changed to that the known-architecture stuff is done before the extrasgoodale1999-07-21
| | | | | | | | | | 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
* I've re-done the MPI stuff to make it more flexible. It is now easy to add ↵goodale1999-07-21
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