From knarf at cct.lsu.edu Mon Feb 9 12:54:06 2009 From: knarf at cct.lsu.edu (Frank Loeffler) Date: Mon, 9 Feb 2009 12:54:06 -0600 Subject: [Patches] absolute paths in THORNLIST Message-ID: <20090209185406.GR3179@numrel07.cct.lsu.edu> Hi, the attaches patch allows for absolute paths in THORNLIST. It requires 'grep' to be available. Frank -------------- next part -------------- Index: Makefile =================================================================== RCS file: /cactusdevcvs/Cactus/Makefile,v retrieving revision 1.178 diff -u -r1.178 Makefile --- Makefile 26 Jan 2009 23:27:22 -0000 1.178 +++ Makefile 9 Feb 2009 18:44:22 -0000 @@ -64,9 +64,14 @@ export TPARFLAGS FPARFLAGS # Directory for configuration options + +# set $(THORNLIST_DIR) to "." if it is not set already and if +# $(THORNLIST) does not start with a slash ifeq ($(strip $(THORNLIST_DIR)), ) +ifeq ($(shell echo $(strip $(THORNLIST)) | grep '^/'),) THORNLIST_DIR = "." endif +endif # End of parallel make stuff From knarf at cct.lsu.edu Mon Feb 9 17:03:35 2009 From: knarf at cct.lsu.edu (Frank Loeffler) Date: Mon, 9 Feb 2009 17:03:35 -0600 Subject: [Patches] doc: latin9 -> utf8 Message-ID: <20090209230335.GC3179@numrel07.cct.lsu.edu> Hi, this patch changes the input encoding for the documentation from latin9 to uft8. I could not find problems when building the documentation with this. It enables the use of uft8 textfiles, which is (or is becoming) the standard nowadays. Ok to apply? Frank -------------- next part -------------- Index: doc/latex/cactus.sty =================================================================== RCS file: /cactusdevcvs/Cactus/doc/latex/cactus.sty,v retrieving revision 1.25 diff -u -r1.25 cactus.sty --- doc/latex/cactus.sty 30 May 2006 13:13:22 -0000 1.25 +++ doc/latex/cactus.sty 9 Feb 2009 23:01:54 -0000 @@ -42,7 +42,7 @@ % Load in other packages. -\RequirePackage[latin9]{inputenc} +\RequirePackage[utf8]{inputenc} \RequirePackage{fancyhdr} \RequirePackage{graphicx} \RequirePackage{latexsym} From tradke at aei.mpg.de Thu Feb 12 10:42:16 2009 From: tradke at aei.mpg.de (Thomas Radke) Date: Thu, 12 Feb 2009 17:42:16 +0100 Subject: [Patches] print process ID in the Cactus banner Message-ID: <49945168.6000405@aei.mpg.de> The attached tiny patch outputs the process ID in the Cactus banner printed at simulation startup. This information is useful eg. so that one can associate core. files with MPI tasks (CCTK_Proc.out files) while post-mortem debugging a parallel run. -- Cheers, Thomas. -------------- next part -------------- A non-text attachment was scrubbed... Name: banner.patch Type: text/x-patch Size: 613 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/patches/attachments/20090212/a95504ed/attachment-0001.bin From knarf at cct.lsu.edu Fri Feb 13 09:59:59 2009 From: knarf at cct.lsu.edu (Frank Loeffler) Date: Fri, 13 Feb 2009 09:59:59 -0600 Subject: [Patches] disable strict ansi support for c99 and the intel C compiler > 8 Message-ID: <20090213155959.GN22451@numrel07.cct.lsu.edu> Hi, this patch changes '-std=gnu99' to '-std=c99 -U__STRICT_ANSI__' for the intel C compiler versions > 8. 'gnu99' was never officially supported and does not work as expected starting with version 11. The official way to achieve c99 extensions like M_PI is to undefine __STRICT_ANSI__ (which is turned on by '-std=c99) [1]. This should then be equivalent to the -std=gnu99 option of the gnu c compiler. This change should not be necessary for version 9, because this version does not define __STRICT_ANSI__ for 'c99', but including version 9 here keeps the patch smaller and the known-architecture file smaller and more readable and it should work just as well. [1] http://www.intel.com/software/products/compilers/docs/clin/Release_Notes.htm : Behavior Change for -std=c99 and -std=c89 When the -std=c99 or -std=c89 options are used, the 10.1 compiler's behavior is now compatible with gcc and the __STRICT_ANSI__ macro is predefined. If your application compiles with errors and you wish to use the previous version's behavior, add -U__STRICT_ANSI__ to the command line. Frank -------------- next part -------------- Index: lib/make/known-architectures/linux =================================================================== RCS file: /cactusdevcvs/Cactus/lib/make/known-architectures/linux,v retrieving revision 1.132 diff -u -r1.132 linux --- lib/make/known-architectures/linux 26 Jan 2009 20:53:27 -0000 1.132 +++ lib/make/known-architectures/linux 13 Feb 2009 15:49:32 -0000 @@ -380,7 +380,7 @@ icc_opt='' fi if test $icc_version -ge 8; then - icc_c99='-std=gnu99' + icc_c99='-std=c99 -U__STRICT_ANSI__' else icc_c99='-c99' fi