summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Checks the value of the BUILD_GETOPT and BUILD_REGEX flags beforegoodale2000-05-14
| | | | | | | | | | | adding the files to the SRCS line. You may need to do a reconfig after this update. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1660 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A few more checks for things. Now looks for regex.h and getopt.h andgoodale2000-05-14
| | | | | | | | | | if they don't exist it sets the make variables BUILD_REGEX and BUILD_GETOPT to no, otherwise they are yes. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1659 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing obsolete prototypegoodale2000-05-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1658 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor change.goodale2000-05-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1657 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing #include <malloc.h>goodale2000-05-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1656 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correcting a mistake I made earlier in interpreting the autoconfgoodale2000-05-12
| | | | | | | | | manual. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1655 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bug fixes for cross-compilation. Now will stop if the variousgoodale2000-05-12
| | | | | | | | | sizes aren't defined. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1654 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change to syntax for cross-compilation.goodale2000-05-12
| | | | | | | | | | | | | | | Now need BUILD_MACHINE= TARGET_MACHINE= HOST_MACHINE= as $HOST is sometimes set with the host name. Votes for better names for these options welcome. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1653 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Preliminary support for cross-compilation.goodale2000-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting BUILD=, or HOST=, or TARGET= will pass --build=, ... to the configure process. If cross compiling you need to set ENDIAN - either big or little SIZEOF_LONG_INT SIZEOF_INT SIZEOF_SHORT_INT SIZEOF_LONG_DOUBLE SIZEOF_DOUBLE SIZEOF_SHORT SIZEOF_POINTER otherwise you'll get an error. You may also set NULL_DEVICE to tell it the location of the null device. If you don't set this you'll just get a warning, and it will default to /dev/null. This is weakly tested, as I am limited in what I can cross compile for. Fixed semantics for DEBUG to be as in previous commit, except DEBUG=DEFINES define CCTK_DEBUG and not DEBUG in the header files. Partially dealt with PR 340 -- -g -O2 no longer automatically appear as the compilation flags. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1652 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check, using C++, for the presence of vector and vector.h . This shouldgoodale2000-05-12
| | | | | | | | | help routines using the C++ STL to include the appropriate headers. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1651 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing memory leak.goodale2000-05-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1650 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't malloc zero bytes when there are no GH extensions.goodale2000-05-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1649 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Skip already unregistered GH extensions when looping over all handles.tradke2000-05-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1648 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed couple of bugs I just commitedallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1647 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing CCTK_CreateDirectoryallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1646 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Switched the arguments for CCTK_CreateDirectory so that the string is lastallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1645 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed compilation to be 64 bit.goodale2000-05-10
| | | | | | | | | | | | Added stuff for MPI. Currently the jobs compiled this way are JOBTYPE=SS . I will continue experiments with E8S executables... Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1644 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added prototype for CCTK_UnregisterGHExtension().tradke2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1643 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New routine CCTK_UnregisterGHExtension() which can be called by terminationtradke2000-05-10
| | | | | | | | routines. Use CCTK_VWarn() whereever possible. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1642 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Traverse through all routines registered at CCTK_TERMINATE.tradke2000-05-10
| | | | | | | This is down right before traversing CCTK_SHUTDOWN. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1641 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Report scheduled termination routines and their elapsed times.tradke2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1640 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New macros for Fortran callsallen2000-05-10
| | | | | | | CCTK_Warn -> CCTK_VWarn where appropriate git-svn-id: http://svn.cactuscode.org/flesh/trunk@1639 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_mkdir -> CCTK_CreateDirectoryallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1638 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New macros for fortran callsallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1637 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_mkdir is now replaced byallen2000-05-10
| | | | | | | | | | | CCTK_CreateDirectory which creates a directory and any needed parents CCTK_mkdir will be removed in Beta 9 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1636 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding CCTK_FCALL to replace FMODIFIERallen2000-05-10
| | | | | | | | | | | | Adding DEBUG options for use when configuring gmake <name>-config DEBUG=ALL all the following gmake <name>-config DEBUG=FLAGS set debugging flags gmake <name>-config DEBUG=MEMORY do memory tracing gmake <name>-config DEBUG=DEFINES define DEBUG for preprocessor git-svn-id: http://svn.cactuscode.org/flesh/trunk@1635 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updatesallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1634 17b73243-c579-4c4c-a9d2-2d5706c11dac
* FORTRAN_NAME -> CCTK_FNAMEallen2000-05-10
| | | | | | | | | FMODIFIER -> CCTK_FCALL Old names will work until beta 9 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1633 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Freeing a malloced arrayallen2000-05-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1632 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Initial known-architecures stuff for solaris. Compiles and passes the ↵goodale2000-05-08
| | | | | | | | | | | test-suite for non-c++ thorns, 'though there are lots of compilation and linking warnings. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1631 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing macro name to keep solaris compiler happy.goodale2000-05-08
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1630 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bug fixallen2000-05-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1629 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Ians changes to get the right executable nameallen2000-05-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1628 17b73243-c579-4c4c-a9d2-2d5706c11dac
* adding an include that provides the redefs for malloclanfer2000-05-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1627 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing gmake to $(MAKE)allen2000-05-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1626 17b73243-c579-4c4c-a9d2-2d5706c11dac
* adding prototype CCTK_GroupDimFromVarI(int vi)lanfer2000-05-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1625 17b73243-c579-4c4c-a9d2-2d5706c11dac
* adding function: int CCTK_GroupDimFromVarI(int vi)lanfer2000-05-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1624 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Checks for the presence of mode_t. Under NT mkdir doesn't takegoodale2000-05-02
| | | | | | | | | | the second argument, so the absence of this typedef is a good test of this situation. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1623 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_MkDirs to make a directory and all necessary parents.goodale2000-05-02
| | | | | | | | | CCTK_mkdir now calls this. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1622 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved the util string functions to one place.goodale2000-05-02
| | | | | | | | | | Added Util_StrSep - same functionality as strsep. Renamed CCTK_StrDup as Util_Strdup. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1621 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check with stat(2) if the directory to be created already exists.tradke2000-04-28
| | | | | | | | | | | | | | | This should work for NT as well. Changed return values of CCTK_mkdir(): 0 dir was successfully created positive dir already exists negative failed to create dir for some reason Currently it still uses system(3) to create the dir where you cannot really check for an error code. This should be replaced by mkdir(2) in the future. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1620 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declaring cctk_itlast as STEERABLE = ALWAYS.tradke2000-04-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1619 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Only active thorns should have their variables registered.goodale2000-04-23
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1618 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Shifting registration of variables to after reading of parameter file.goodale2000-04-23
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1617 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bug in CCTK_SyncGroupsI (syncing a list of groups), hopefully this fixes ↵allen2000-04-23
| | | | | | Cactus/286. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1616 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added recognition of ld_supported_emulatiosn=elf_i386 needed for pgccgoodale2000-04-21
| | | | | | | | | compiler under linux. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1615 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Corrected cache calculation for multiprocessor machines.goodale2000-04-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1614 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updated version number to beta 8.goodale2000-04-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1613 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Initial attempt at known-architecture files for Hitachi sr8000.goodale2000-04-20
| | | | | | | | | | Currently there is no dependency data, as there's no program to to it, and there may still be problems with some c++ thorns. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1611 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor additionsallen2000-04-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1610 17b73243-c579-4c4c-a9d2-2d5706c11dac