From hosseinf at guilan.ac.ir Wed Mar 7 00:52:47 2007 From: hosseinf at guilan.ac.ir (hosseinf at guilan.ac.ir) Date: Wed, 7 Mar 2007 10:22:47 +0330 Subject: [Users] help with simple toymodel Message-ID: <20070307102247.2dkogfzv7i8w4swc@194.225.176.17> Dear friends Would you please help me with this one. I am a biginner in Cactus. I got everything including flesh from development and try to run a simple toy model. After executing the following commands successfully chmod u+x GetCactus ./GetCactus WaveToy.c cd Cactus Then I got the following error when trying to gmake WaveToy. gmake WaveToy-config """"""""""""""""""""""""""""" Running any thorn-privided configuration scripts... Running configuration script '/home/hosseinf/mycactus/mycactusdev/arrangements/CactusIO/IOSDF/ConfigureW ithSDF.pl' CST error 1: -> Configuration script for thorn IOSDF returned exit code 255 Error message: 'IOSDF requires an external SDF installation. Please specify SDF_DIR to point to thi s installation or remove thorn IOSDF from your ThornList !' Checking consistency... Creating Thorn-Flesh bindings... Creating implementation bindings... Creating parameter bindings... Creating variable bindings... Creating schedule bindings... Creating function bindings... ------------------------------------------------------ There was 1 error during execution of the CST This must be corrected before compilation can proceed ------------------------------------------------------ ------------------------------------------------------ Warnings were generated during execution of the CST ------------------------------------------------------ CST error 1: -> Configuration script for thorn IOSDF returned exit code 255 Error message: 'IOSDF requires an external SDF installation. Please specify SDF_DIR to point to thi s installation or remove thorn IOSDF from your ThornList !' ------------------------------------------------------ gmake[1]: *** [/home/hosseinf/mycactus/mycactusdev/configs/WaveToy/config-data/make.thornlist] Error 1 gmake: *** [WaveToy] Error 2 """"""""""""""""""""""""""""""""""""""""""""""" regards Hossein ---------------------------------------------------------------- This message was sent from Guilan University. From yye00 at cct.lsu.edu Wed Mar 7 00:44:23 2007 From: yye00 at cct.lsu.edu (Yaakoub El Khamra) Date: Wed, 07 Mar 2007 00:44:23 -0600 Subject: [Users] help with simple toymodel In-Reply-To: <20070307102247.2dkogfzv7i8w4swc@194.225.176.17> References: <20070307102247.2dkogfzv7i8w4swc@194.225.176.17> Message-ID: <45EE5F47.2070702@cct.lsu.edu> Hi Hossein I sent you an email regarding this, please check if you got it or not. The idea is you have a few thorns that you do not need. These thorns, such as IOSDF require external libraries that you need to have installed in order to get the thorns to compile. Considering you do not have SDF installed, the thorn will not compile and that is what the error you get means. Can you send me the thorn list you are using? Cheers Yaakoub hosseinf at guilan.ac.ir wrote: > Dear friends > > Would you please help me with this one. > I am a biginner in Cactus. I got everything including flesh from development > and try to run a simple toy model. > > After executing the following commands successfully > chmod u+x GetCactus > ./GetCactus WaveToy.c > cd Cactus > > Then > I got the following error when trying to gmake WaveToy. > gmake WaveToy-config > > """"""""""""""""""""""""""""" > > Running any thorn-privided configuration scripts... > Running configuration script > '/home/hosseinf/mycactus/mycactusdev/arrangements/CactusIO/IOSDF/ConfigureW > ithSDF.pl' > > CST error 1: > -> Configuration script for thorn IOSDF returned exit code 255 > Error message: 'IOSDF requires an external SDF installation. > Please specify SDF_DIR > to point to thi s installation or remove thorn IOSDF from your ThornList !' > > > Checking consistency... > Creating Thorn-Flesh bindings... > Creating implementation bindings... > Creating parameter bindings... > Creating variable bindings... > Creating schedule bindings... > Creating function bindings... > > > ------------------------------------------------------ > There was 1 error during execution of the CST > This must be corrected before compilation can proceed > ------------------------------------------------------ > > > > ------------------------------------------------------ > Warnings were generated during execution of the CST > ------------------------------------------------------ > > > CST error 1: > -> Configuration script for thorn IOSDF returned exit code 255 > Error message: 'IOSDF requires an external SDF installation. > Please specify SDF_DIR > to point to thi s installation or remove thorn IOSDF from your ThornList !' > > ------------------------------------------------------ > > gmake[1]: *** > [/home/hosseinf/mycactus/mycactusdev/configs/WaveToy/config-data/make.thornlist] Error > 1 > gmake: *** [WaveToy] Error 2 > > """"""""""""""""""""""""""""""""""""""""""""""" > > regards > Hossein > > > ---------------------------------------------------------------- > This message was sent from Guilan University. > > > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > > From heeilkim at gmail.com Mon Mar 12 01:57:32 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Mon, 12 Mar 2007 16:57:32 +0900 Subject: [Users] Porting problem on IBM ppc Message-ID: Hi, I'm trying to port Cactus on a cluster of IBM ppc. At the configuration stage, HOST_MACHINE=ppc-ibm should be added to remove the error messages. But I encountered a building error after the CST checking finished ======== Error Messages ======================== ... CST finished. Checking status of thorn Boundary ________________________________________________________________________ mv: cannot stat `Check.u': No such file or directory make[3]: *** [Check.c.d] Error 1 make[2]: *** [make.checked] Error 2 make[1]: *** [/home/hmlee/Cactus/configs/wavetoy/lib/libthorn_Boundary.a] Error 2 make: *** [wavetoy] Error 2 ================================================== The configuration file I used is as follows ========= ~/.cactus/config ====================== HOST_MACHINE=ppc-ibm CC=xlc CXX=xlC F77=xlf90 F90=xlf90 MPI=MPICH MPICH_DEVICE=gm MPICH_DIR=/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh PTHREADS=yes ================================================= I appreciate your help in advance Regards, Hee Il Kim Dept. of Astronomy Seoul National University, Korea Email: heeilkim at gmail.com, khi at astro.snu.ac.kr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070312/ec7882ea/attachment.html From gkhanna at umassd.edu Mon Mar 12 06:26:40 2007 From: gkhanna at umassd.edu (Gaurav Khanna) Date: Mon, 12 Mar 2007 08:26:40 -0400 (EDT) Subject: [Users] Cell based workstation from Sony Message-ID: <53890.71.232.241.53.1173702400.squirrel@email.umassd.edu> Hi all I was recently contacted by Sony concerning an evaluation of the market (in the scientific HPC community) for a Cell processor based workstation which includes Sony's RSX GPU. These are the same technologies used in the PS3, but they are appropriately modified for general purpose computing. Apparently, detailed specs don't quite exist yet (they are still in flux) but the price point is expected to be in the 7K range. Can you folks send me your thoughts about the likelihood of success of such a beast in the scientific community? Thanks very much. I'm including some links below on the Cell processor and RSX, in case you're not very familiar with these .. Best Regards Gaurav http://en.wikipedia.org/wiki/Cell_processor http://en.wikipedia.org/wiki/RSX_%27Reality_Synthesizer%27 ----------------------------------------------- GAURAV KHANNA UMass Dartmouth, Physics (508) 910 6605 http://gravity.phy.umassd.edu/ "Black holes are where God divided by zero." - Steven Wright From jshalf at lbl.gov Mon Mar 12 08:04:52 2007 From: jshalf at lbl.gov (John Shalf) Date: Mon, 12 Mar 2007 07:04:52 -0700 Subject: [Users] Cell based workstation from Sony In-Reply-To: <53890.71.232.241.53.1173702400.squirrel@email.umassd.edu> References: <53890.71.232.241.53.1173702400.squirrel@email.umassd.edu> Message-ID: <1501E9CF-305F-4B48-9F57-5DDA3BC61B49@lbl.gov> Hi Gaurav. My primary comment is that Sony would be better off pairing the PS3 with a CUDA GPU. The traditional GPUs, like RSX, have a programming model that is based around packing your problem data into a texture map and then rendering it into the framebuffer. To say that is awkward is exquisite understatement. Some very dedicated GPGPU programmers have demonstrated you can do an amazing variety of things with this model, but it is hardly what you would consider general- purpose. The CUDA, by contrast, is more of a conventional manycore processor. It gets rid of the distinction between vertex processors and pixel processors (they are all just processors). You are not forced to use a stream programming model (eg. you can gather from memory *and* scatter too). You can do inter-processor communication to take advantage of the on-chip bandwidth (cannot do that with RSX). So, I think that CUDA will take a lot of steam out of the current GPGPU programming. Once programmers get all of the power of the GPUs packaged together with a more flexible programming model, older-style GPU programming models are going to give way to this more flexible architecture. (that is to say, ATI is likely to move in this same architectural direction as well). So it makes sense that Sony would put an RSX in the CPBW since it could be a development platform for the PS3. However, if they are interested in combining GPU programming with Cell programming, they might be better off pairing with NVidia. -john On Mar 12, 2007, at 5:26 AM, Gaurav Khanna wrote: > Hi all > > I was recently contacted by Sony concerning an evaluation of the > market > (in the scientific HPC community) for a Cell processor based > workstation > which includes Sony's RSX GPU. These are the same technologies used > in the > PS3, but they are appropriately modified for general purpose > computing. > > Apparently, detailed specs don't quite exist yet (they are still in > flux) > but the price point is expected to be in the 7K range. > > Can you folks send me your thoughts about the likelihood of success of > such a beast in the scientific community? Thanks very much. > > I'm including some links below on the Cell processor and RSX, in case > you're not very familiar with these .. > > Best Regards > Gaurav > > http://en.wikipedia.org/wiki/Cell_processor > http://en.wikipedia.org/wiki/RSX_%27Reality_Synthesizer%27 > > > > ----------------------------------------------- > > GAURAV KHANNA > UMass Dartmouth, Physics > (508) 910 6605 > http://gravity.phy.umassd.edu/ > > "Black holes are where God divided by zero." - Steven Wright > > > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users From heeilkim at gmail.com Mon Mar 12 21:58:58 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Tue, 13 Mar 2007 12:58:58 +0900 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: Message-ID: Hi, I found the error comes from selecting xlc. gcc causes no problem. Regards Hee Il 2007/3/12, Hee Il Kim : > > Hi, > > I'm trying to port Cactus on a cluster of IBM ppc. At the configuration > stage, HOST_MACHINE=ppc-ibm should be added to remove the error messages. > But I encountered a building error after the CST checking finished > > ======== Error Messages ======================== > ... > > CST finished. > Checking status of thorn Boundary > ________________________________________________________________________ > mv: cannot stat `Check.u': No such file or directory > make[3]: *** [Check.c.d] Error 1 > make[2]: *** [make.checked] Error 2 > make[1]: *** [/home/hmlee/Cactus/configs/wavetoy/lib/libthorn_Boundary.a] > Error 2 > make: *** [wavetoy] Error 2 > ================================================== > > The configuration file I used is as follows > > ========= ~/.cactus/config ====================== > HOST_MACHINE=ppc-ibm > > CC=xlc > CXX=xlC > F77=xlf90 > F90=xlf90 > > MPI=MPICH > MPICH_DEVICE=gm > MPICH_DIR=/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh > > PTHREADS=yes > ================================================= > > I appreciate your help in advance > > Regards, > > Hee Il Kim > Dept. of Astronomy > Seoul National University, Korea > Email: heeilkim at gmail.com, khi at astro.snu.ac.kr > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070313/0bda739b/attachment-0001.html From schnetter at cct.lsu.edu Mon Mar 12 23:23:24 2007 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Tue, 13 Mar 2007 00:23:24 -0500 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: Message-ID: On Mar 12, 2007, at 22:58:58, Hee Il Kim wrote: > Hi, > > I found the error comes from selecting xlc. gcc causes no problem. That's good to hear. If you run into more trouble, you can pass the option "SILENT=no" when calling make. This gives more output and makes debugging easier. -erik -- Erik Schnetter My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from www.keyserver.net. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://www.cactuscode.org/pipermail/users/attachments/20070313/032607ee/attachment.bin From heeilkim at gmail.com Tue Mar 13 04:40:19 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Tue, 13 Mar 2007 19:40:19 +0900 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: Message-ID: Hi, I encountered several more problems on this IBM cluster system. The cluster info is cpu: IBM PPC 970 os: SLES9 compilers: gcc 3.3.3 and xlf 9.1 & xlc 7.0 XLF releated problems are: Cactus building failed at the final stage of creating an executable. I tried "F77FLAGS=-qfixed" with "FPPFLAGS=-traditional" but no success. GNU g77 has no problems for Cactus. However, this system failed to build Capret run even with GNU compilers. For the Carpet stable version, the building process failed at the final stage with many outputs of "undefined references to i.e, check_box, copy_mask, s_wsle, & do_lio". The development version of carpet stopped at earlier stage. Is there any reference for the configuration for this kind of system? Nobody has tried on this? I would like to appreciate your help in advance. p.s. I set up HOST_MACHINE=ppc-ibm-linux-gnu Hee Il 2007/3/13, Erik Schnetter : > > On Mar 12, 2007, at 22:58:58, Hee Il Kim wrote: > > > Hi, > > > > I found the error comes from selecting xlc. gcc causes no problem. > > That's good to hear. > > If you run into more trouble, you can pass the option "SILENT=no" > when calling make. This gives more output and makes debugging easier. > > -erik > > -- > Erik Schnetter > > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from www.keyserver.net. > > > > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070313/57f1b3f2/attachment.html From schnetter at cct.lsu.edu Tue Mar 13 09:45:00 2007 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Tue, 13 Mar 2007 10:45:00 -0500 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: Message-ID: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> Hee Il, it is often the easiest to use both Fortran and C/C++ compilers from the same vendor. Using xlc and xlf should work fine. Depending on your system setup, it may be necessary to specify to the C++ compiler (which calls the linker) where the Fortran run time libraries are located. This requires manual investigation if the compilers are not installed in their standard places. I would try the xlc/xlf combination once more, use SILENT=no, and then report the actual error message here. We can then see what settings need to be corrected. I have never used an IBM PPC 970 nor an SLES9. Maybe someone else on this list has experience? -erik -- Erik Schnetter My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from www.keyserver.net. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://www.cactuscode.org/pipermail/users/attachments/20070313/731aaa21/attachment.bin From heeilkim at gmail.com Tue Mar 13 20:54:59 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Wed, 14 Mar 2007 11:54:59 +0900 Subject: [Users] Porting problem on IBM ppc In-Reply-To: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> Message-ID: Thanks Erik, If I use xlc, I encounter "missing separator" problem and I can't go further. CST finished. Checking status of thorn CoordBase ________________________________________________________________________ Domain.c.d:2: *** missing separator. Stop. gmake[2]: *** [make.checked] Error 2 gmake[1]: *** [/home/hmlee/Cactus/configs/bench/lib/libthorn_CoordBase.a] Error 2 gmake: *** [bench] Error 2 Of course, I'm using GNU make. I'm looking for proper options for this problem but I'm not an expert. Any hints would be appreciated. Hee Il 2007/3/14, Erik Schnetter : > > Hee Il, > > it is often the easiest to use both Fortran and C/C++ compilers from > the same vendor. Using xlc and xlf should work fine. > > Depending on your system setup, it may be necessary to specify to the > C++ compiler (which calls the linker) where the Fortran run time > libraries are located. This requires manual investigation if the > compilers are not installed in their standard places. > > I would try the xlc/xlf combination once more, use SILENT=no, and > then report the actual error message here. We can then see what > settings need to be corrected. > > I have never used an IBM PPC 970 nor an SLES9. Maybe someone else on > this list has experience? > > -erik > > -- > Erik Schnetter > > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from www.keyserver.net. > > > > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070314/12010594/attachment.html From schnetter at cct.lsu.edu Tue Mar 13 21:34:48 2007 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Tue, 13 Mar 2007 22:34:48 -0500 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> Message-ID: <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> On Mar 13, 2007, at 21:54:59, Hee Il Kim wrote: > Thanks Erik, > > If I use xlc, I encounter "missing separator" problem and I can't > go further. I think you did not pass the option SILENT=no to make. Please try that; it will give more information. -erik -- Erik Schnetter My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from www.keyserver.net. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://www.cactuscode.org/pipermail/users/attachments/20070313/2041c3db/attachment.bin From heeilkim at gmail.com Tue Mar 13 23:22:15 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Wed, 14 Mar 2007 14:22:15 +0900 Subject: [Users] Porting problem on IBM ppc In-Reply-To: <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> Message-ID: Sorry Erik, I didn't know that option should be given in comand line. I attached the log files at configuration and building stages. Hee Il 2007/3/14, Erik Schnetter : > > On Mar 13, 2007, at 21:54:59, Hee Il Kim wrote: > > > Thanks Erik, > > > > If I use xlc, I encounter "missing separator" problem and I can't > > go further. > > I think you did not pass the option SILENT=no to make. Please try > that; it will give more information. > > -erik > > -- > Erik Schnetter > > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from www.keyserver.net. > > > > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070314/98fc24d6/attachment-0001.html -------------- next part -------------- ________________________________________________________________________ Cactus - version: 4.0.b16 if test "x"yes"" = "xyes" ; then \ echo Setup configuration bench \(yes\)?; \ read yesno rest; \ if test $? -ne 0 ; then \ yesno='no'; \ fi; \ fi; \ if [ "x$yesno" = "xno" -o "x$yesno" = "xn" -o "x$yesno" = "xNO" -o "x$yesno" = "xN" ] ; \ then \ echo Setup of configuration bench cancelled ; \ else \ echo Setting up new configuration bench ; \ if test -z "bench.th" || (test -n "bench.th" && test -r ""."/bench.th") ; \ then \ if ( perl -s lib/make/setup_configuration.pl bench) ; then : ; else\ echo "" ; \ echo "Error creating configuration bench" ; \ rm -f "/home/hmlee/Cactus/configs/bench/config-data/cctk_Config.h"; \ exit 2 ; \ fi ; \ if test -n "bench.th" ; \ then \ echo Using ThornList "."/bench.th ; \ cp "."/bench.th /home/hmlee/Cactus/configs/bench/ThornList ; \ fi ; \ if test -n "" ; \ then \ echo >> /home/hmlee/Cactus/configs/bench/ThornList ; \ fi ; \ echo ________________________________________________________________________ ; \ if test "x"yes"" = "xno" ; then \ gmake bench WARN=; \ else \ echo Use gmake bench to build the configuration. ; \ fi; \ else \ echo "ThornList "."/bench.th does not exist" ; \ exit 2; \ fi ; \ fi Setup configuration bench (yes)? Setting up new configuration bench Creating new configuration bench. Using configuration options from configure line Setting THORNLIST to 'bench.th' End of options from configure line Adding configuration options from user defaults... Setting HOST_MACHINE to 'ppc-ibm-linux-gnu' Setting F77 to 'xlf90' Setting F90 to 'xlf90' Setting CC to 'xlc' Setting CXX to 'xlC' Setting F77FLAGS to '-q64 -qfixed' Setting F90FLAGS to '-q64' Setting FPPFLAGS to '-traditional' Setting CFLAGS to '-q64' Setting CXXFLAGS to '-q64' Setting LIBDIRS to '/opt/ibmcmp/xlf/9.1/lib64 /opt/ibmcmp/vac/7.0/lib64 /opt/ibmcmp/vacpp/7.0/lib64' Setting MPI to 'MPICH' Setting MPICH_DEVICE to 'gm' Setting MPICH_DIR to '/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh' Setting MYRINET_DIR to '/opt/gm' Setting PTHREADS to 'yes' End of options from user defaults. creating cache ./config.cache checking host system type... powerpc-ibm-linux-gnu checking whether make sets ${MAKE}... yes checking whether the C compiler (xlc -q64 ) works... yes checking whether the C compiler (xlc -q64 ) is a cross-compiler... no checking whether we are using GNU C... no checking whether the C++ compiler (xlC -q64 ) works... yes checking whether the C++ compiler (xlC -q64 ) is a cross-compiler... no checking whether we are using GNU C++... no checking for ranlib... ranlib checking for cpp... /lib/cpp checking for cpp... /lib/cpp checking for perl... perl checking for ar... ar checking for mkdir... mkdir checking for bash... /bin/sh Unknown Linux f90 compiler. Please add appropriate information to /home/hmlee/Cactus/lib/make/known-architectures/linux and send the updated file to CactusMaint We will try anyway ... Setting CACHELINE_BYTES to 32 Setting CACHE_SIZE to 0*1024 bytes checking how to run the C preprocessor... /lib/cpp checking for ANSI C header files... yes checking whether byte ordering is bigendian... yes checking size of long long... 8 checking size of long int... 8 checking size of int... 4 checking size of short int... 2 checking size of long double... 8 checking size of double... 8 checking size of float... 4 checking size of char *... 8 checking for the null device... /dev/null checking for gethostbyname... yes checking if mode_t is defined... yes checking for availability of gettimeofday timing... yes checking if gettimeofday needs timezone... yes checking for availability of getrusage timing... yes checking for availability of _ftime timing... no checking for time.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for string.h... yes checking for assert.h... yes checking for sys/stat.h... yes checking for getopt.h... yes checking for dirent.h... yes checking for regex.h... yes checking for sys/filio.h... no checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for netdb.h... yes checking for arpa/inet.h... yes checking for winsock2.h... no checking for crypt.h... yes checking for signal.h... yes checking whether time.h and sys/time.h may both be included... yes checking if socklen_t is defined... yes checking if SOCKET is defined... no checking if __int64 is defined... yes checking for vector... yes checking for vector.h... yes checking for getopt_long_only... yes checking for working const... yes checking for inline... inline checking for C restrict... __restrict__ checking for C++ restrict... restrict checking for C bool... no checking for CXX bool... yes checking for Fortran REAL*4... yes checking for Fortran REAL*8... yes checking for Fortran REAL*16... yes checking for Fortran COMPLEX*8... yes checking for Fortran COMPLEX*16... yes checking for Fortran COMPLEX*32... yes checking for crypt... no checking for crypt in library crypt... yes checking for finite... yes checking for isnan... yes checking for mkstemp... yes checking for va_copy... no checking for main in library c_r... no checking for main in library pthread... yes Configuring with MPI MPICH selected MPICH architecture is LINUX Configuring with PTHREADS creating cctk_Archdefs.h creating make.arch.defn creating cctk_Extradefs.h creating make.extra.defn updating cache ./config.cache creating ./config.status creating make.config.defn creating make.config.deps creating make.config.rules creating cctk_Config.h Determining number of fortran underscores... Compiling test file with xlf90 -q64 -qfixed ... ** test === End of Compilation 1 === 1501-510 Compilation successful for file fname_test.f. Lowercase - No trailing underscore Compiling test file with xlf90 -q64 -qfixed ... ** test_name === End of Compilation 1 === 1501-510 Compilation successful for file fname_test.f. Lowercase - No trailing underscore Using ThornList ./bench.th ________________________________________________________________________ Use gmake bench to build the configuration. ________________________________________________________________________ -------------- next part -------------- if test ! -f "/home/hmlee/Cactus/configs/bench/config-data/cctk_Config.h" ; then \ echo ________________________________________________________________________;\ echo "Cactus - version: 4.0.b16";\ if test "x"yes"" = 'xno'; then\ if (! perl -s lib/make/setup_configuration.pl bench) ; then \ echo "" ; \ echo "Error reconfiguring configuration bench" ; \ rm -f "/home/hmlee/Cactus/configs/bench/config-data/cctk_Config.h" ; \ exit 2 ; \ fi \ else \ echo "Error: Configuration bench is incomplete.";\ echo "Please check the files in /home/hmlee/Cactus/configs/bench/config-data for error messages.";\ echo "You can try again to configure using gmake bench-config";\ echo "or delete this configuration with gmake bench-delete.";\ echo ________________________________________________________________________;\ exit 1; \ fi \ fi if (perl -e 'exit ((stat shift)[9] > (stat shift)[9])' /home/hmlee/Cactus/configs/bench/config-info /home/hmlee/Cactus/lib/make/force-reconfigure); then \ echo ________________________________________________________________________;\ echo "Cactus - version: 4.0.b16";\ echo "Error: Configuration bench is out of date.";\ echo " Please reconfigure your configuration by running the command"; \ echo ;\ echo " gmake bench-reconfig"; \ echo ;\ echo " (It is likely that recent changes to the flesh require this.)";\ echo ________________________________________________________________________;\ exit 1;\ fi if test "x0" = "x0" ; then \ echo ________________________________________________________________________;\ echo "Cactus - version: 4.0.b16"; \ echo "Building configuration bench"; \ echo ________________________________________________________________________;\ fi ________________________________________________________________________ Cactus - version: 4.0.b16 Building configuration bench ________________________________________________________________________ gmake -f /home/hmlee/Cactus/lib/make/make.configuration TOP=/home/hmlee/Cactus/configs/bench CCTK_HOME=/home/hmlee/Cactus gmake[1]: Entering directory `/home/hmlee/Cactus' if [ -r /home/hmlee/Cactus/configs/bench/config-data/make.thornlist ] ; then echo Reconfiguring thorns ; rm /home/hmlee/Cactus/configs/bench/config-data/make.thornlist ;\ else echo Processing CCL files ; fi Processing CCL files perl -s /home/hmlee/Cactus/lib/sbin/CST -config_dir=/home/hmlee/Cactus/configs/bench/config-data -cctk_home=/home/hmlee/Cactus -top=/home/hmlee/Cactus/configs/bench /home/hmlee/Cactus/configs/bench/ThornList Reading ThornList... Parsing configuration files... Parsing interface files... ADMBase Implements: ADMBase Inherits: grid 5 Public, 0 Protected, 0 Private variable groups ADMConstraints Implements: admconstraints Inherits: ADMBase StaticConformal SpaceMask grid ADMMacros Friend of: ADMCoupling 3 Public, 0 Protected, 0 Private variable groups ADMCoupling Implements: ADMCoupling 0 Public, 0 Protected, 0 Private variable groups ADMMacros Implements: ADMMacros 1 Public, 0 Protected, 0 Private variable groups AEILocalInterp Implements: AEILocalInterp 0 Public, 0 Protected, 0 Private variable groups BSSN_MoL Implements: adm_bssn Inherits: admbase admmacros coordgauge spacemask staticconformal Friend of: admcoupling 18 Public, 0 Protected, 0 Private variable groups Boundary Implements: boundary 0 Public, 0 Protected, 0 Private variable groups Cactus Implements: Cactus 0 Public, 0 Protected, 0 Private variable groups Carpet Implements: Driver 0 Public, 0 Protected, 1 Private variable groups CarpetInterp Implements: interp 0 Public, 0 Protected, 0 Private variable groups CarpetLib Implements: CarpetLib 0 Public, 0 Protected, 0 Private variable groups CarpetReduce Implements: reduce 0 Public, 0 Protected, 1 Private variable groups CarpetRegrid Implements: CarpetRegrid 0 Public, 0 Protected, 0 Private variable groups CarpetSlab Implements: Hyperslab 0 Public, 0 Protected, 0 Private variable groups CartGrid3D Implements: grid Inherits: coordbase 2 Public, 0 Protected, 0 Private variable groups CoordBase Implements: CoordBase 0 Public, 0 Protected, 0 Private variable groups CoordGauge Implements: CoordGauge 1 Public, 0 Protected, 0 Private variable groups EOS_Base Implements: EOS_Base 0 Public, 0 Protected, 0 Private variable groups EOS_Polytrope Implements: EOS_2d_Polytrope Inherits: EOS_Base 0 Public, 0 Protected, 0 Private variable groups IOBasic Implements: IOBasic Inherits: IO 0 Public, 0 Protected, 2 Private variable groups IOUtil Implements: IO 0 Public, 0 Protected, 0 Private variable groups MoL Implements: MethodOfLines 0 Public, 0 Protected, 8 Private variable groups NaNChecker Implements: NaNChecker Inherits: Reduce 0 Public, 0 Protected, 2 Private variable groups SpaceMask Implements: SpaceMask Inherits: grid 2 Public, 0 Protected, 0 Private variable groups StaticConformal Implements: StaticConformal Inherits: grid 4 Public, 0 Protected, 0 Private variable groups SymBase Implements: SymBase 0 Public, 0 Protected, 0 Private variable groups Time Implements: time 1 Public, 0 Protected, 1 Private variable groups Whisky Implements: Whisky Inherits: ADMBase StaticConformal Boundary Friend of: ADMCoupling 5 Public, 6 Protected, 17 Private variable groups Whisky_Init_Data Implements: whisky_init_data Inherits: whisky grid Friend of: whisky 0 Public, 0 Protected, 0 Private variable groups Whisky_RNSID Implements: rnsid Inherits: ADMBase whisky Friend of: whisky 0 Public, 0 Protected, 0 Private variable groups Parsing parameter files... ADMBase 0 Global, 7 Restricted, 0 Private parameters ADMConstraints 0 Global, 0 Restricted, 9 Private parameters ADMCoupling 0 Global, 0 Restricted, 0 Private parameters ADMMacros 0 Global, 1 Restricted, 0 Private parameters AEILocalInterp 0 Global, 0 Restricted, 1 Private parameters BSSN_MoL 0 Global, 7 Restricted, 69 Private parameters Boundary 0 Global, 8 Restricted, 0 Private parameters Cactus 0 Global, 6 Restricted, 14 Private parameters Carpet 0 Global, 4 Restricted, 58 Private parameters CarpetInterp 0 Global, 0 Restricted, 0 Private parameters CarpetLib 0 Global, 0 Restricted, 21 Private parameters CarpetReduce 0 Global, 0 Restricted, 1 Private parameters CarpetRegrid 0 Global, 5 Restricted, 65 Private parameters CarpetSlab 0 Global, 0 Restricted, 0 Private parameters CartGrid3D 0 Global, 23 Restricted, 9 Private parameters CoordBase 0 Global, 0 Restricted, 44 Private parameters CoordGauge 0 Global, 2 Restricted, 1 Private parameters EOS_Base 0 Global, 0 Restricted, 0 Private parameters EOS_Polytrope 0 Global, 4 Restricted, 0 Private parameters IOBasic 0 Global, 0 Restricted, 13 Private parameters IOUtil 0 Global, 55 Restricted, 2 Private parameters MoL 0 Global, 15 Restricted, 20 Private parameters NaNChecker 0 Global, 0 Restricted, 8 Private parameters SpaceMask 0 Global, 1 Restricted, 0 Private parameters StaticConformal 0 Global, 1 Restricted, 0 Private parameters SymBase 0 Global, 0 Restricted, 1 Private parameters Time 0 Global, 2 Restricted, 5 Private parameters Whisky 0 Global, 53 Restricted, 0 Private parameters Whisky_Init_Data 0 Global, 0 Restricted, 10 Private parameters Whisky_RNSID 0 Global, 0 Restricted, 23 Private parameters Parsing schedule files... ADMBase 10 schedule blocks. ADMConstraints 10 schedule blocks. ADMCoupling 0 schedule blocks. ADMMacros 1 schedule blocks. AEILocalInterp 1 schedule blocks. BSSN_MoL 38 schedule blocks. Boundary 6 schedule blocks. Cactus 0 schedule blocks. Carpet 2 schedule blocks. CarpetInterp 1 schedule blocks. CarpetLib 2 schedule blocks. CarpetReduce 7 schedule blocks. CarpetRegrid 1 schedule blocks. CarpetSlab 0 schedule blocks. CartGrid3D 8 schedule blocks. CoordBase 1 schedule blocks. CoordGauge 8 schedule blocks. EOS_Base 0 schedule blocks. EOS_Polytrope 1 schedule blocks. IOBasic 2 schedule blocks. IOUtil 4 schedule blocks. MoL 66 schedule blocks. NaNChecker 3 schedule blocks. SpaceMask 7 schedule blocks. StaticConformal 1 schedule blocks. SymBase 5 schedule blocks. Time 7 schedule blocks. Whisky 40 schedule blocks. Whisky_Init_Data 6 schedule blocks. Whisky_RNSID 1 schedule blocks. Running any thorn-privided configuration scripts... Checking consistency... Creating Thorn-Flesh bindings... Creating implementation bindings... Creating parameter bindings... Creating variable bindings... Creating schedule bindings... Creating function bindings... CST finished. gmake[1]: Leaving directory `/home/hmlee/Cactus' gmake[1]: Entering directory `/home/hmlee/Cactus' echo "#ifndef _CCTKI_VERSION_H_" > /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h echo "#define _CCTKI_VERSION_H_" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h echo "#define CCTK_VERSION_MAJOR 4" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h echo "#define CCTK_VERSION_MINOR 0" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h echo "#define CCTK_VERSION_OTHER b16" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h echo "#define CCTK_VERSION 4.0.b16" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h echo "#endif /* _CCTKI_VERSION_H_ */" >> /home/hmlee/Cactus/configs/bench/config-data/cctki_version.h Checking status of thorn CoordBase ________________________________________________________________________ gmake[2]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' if [ ! -d cctk_Bindings/ ] ; then mkdir -p cctk_Bindings/ ; fi echo CCTK_THIS_SUBDIR := cctk_Bindings/ > cctk_Bindings/make.identity if [ ! -d ./ ] ; then mkdir -p ./ ; fi echo CCTK_THIS_SUBDIR := ./ > make.identity gmake[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' gmake[2]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' if [ ! -d ./ ] ; then mkdir -p ./ ; fi cd ./ ; gmake CCTK_TARGET=make.checked TOP=/home/hmlee/Cactus/configs/bench CONFIG=/home/hmlee/Cactus/configs/bench/config-data SRCDIR=/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src THORN=CoordBase USESTHORNS="" -f /home/hmlee/Cactus/lib/make/make.subdir gmake[3]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' xlc -E -M /home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/GHExtension.c -I"/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh/include" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -I"/home/hmlee/Cactus/configs/bench/config-data" -I"/home/hmlee/Cactus/configs/bench/bindings/include" -I"/home/hmlee/Cactus/src/include" -I"/home/hmlee/Cactus/arrangements" -I"/home/hmlee/Cactus/configs/bench/bindings/Configuration/Thorns" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -DTHORN_IS_CoordBase -DCCODE > GHExtension.c.d perl -pi -e "s,([^:]*),GHExtension.c.o GHExtension.c.d, if(m/: /); s:\s+\S*[/\\\](cctk_Functions\.h|CParameterStructNames\.h|cctk_Arguments\.h|definethisthorn\.h|FParameters.h|CParameters\.h)\b::g" GHExtension.c.d xlc -E -M /home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/CoordBase.c -I"/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh/include" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -I"/home/hmlee/Cactus/configs/bench/config-data" -I"/home/hmlee/Cactus/configs/bench/bindings/include" -I"/home/hmlee/Cactus/src/include" -I"/home/hmlee/Cactus/arrangements" -I"/home/hmlee/Cactus/configs/bench/bindings/Configuration/Thorns" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -DTHORN_IS_CoordBase -DCCODE > CoordBase.c.d perl -pi -e "s,([^:]*),CoordBase.c.o CoordBase.c.d, if(m/: /); s:\s+\S*[/\\\](cctk_Functions\.h|CParameterStructNames\.h|cctk_Arguments\.h|definethisthorn\.h|FParameters.h|CParameters\.h)\b::g" CoordBase.c.d xlc -E -M /home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/Domain.c -I"/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh/include" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -I"/home/hmlee/Cactus/configs/bench/config-data" -I"/home/hmlee/Cactus/configs/bench/bindings/include" -I"/home/hmlee/Cactus/src/include" -I"/home/hmlee/Cactus/arrangements" -I"/home/hmlee/Cactus/configs/bench/bindings/Configuration/Thorns" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -DTHORN_IS_CoordBase -DCCODE > Domain.c.d perl -pi -e "s,([^:]*),Domain.c.o Domain.c.d, if(m/: /); s:\s+\S*[/\\\](cctk_Functions\.h|CParameterStructNames\.h|cctk_Arguments\.h|definethisthorn\.h|FParameters.h|CParameters\.h)\b::g" Domain.c.d gmake[3]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' gmake[3]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' Domain.c.d:2: *** missing separator. Stop. gmake[3]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' gmake[2]: *** [make.checked] Error 2 gmake[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' gmake[1]: *** [/home/hmlee/Cactus/configs/bench/lib/libthorn_CoordBase.a] Error 2 gmake[1]: Leaving directory `/home/hmlee/Cactus' gmake: *** [bench] Error 2 From schnetter at cct.lsu.edu Tue Mar 13 23:30:04 2007 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Wed, 14 Mar 2007 00:30:04 -0500 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> Message-ID: <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> On Mar 14, 2007, at 00:22:15, Hee Il Kim wrote: > Sorry Erik, > > I didn't know that option should be given in comand line. I > attached the log files at configuration and building stages. I see. Yes, the option SILENT=no has no effect when you specify it when you configure. That's arguably confusing in Cactus. I think the auto-generated file Domain.c.d is not correct. Can you send that file? It should be just a few lines long, and it should contain makefile rules. -erik -- Erik Schnetter My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from www.keyserver.net. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://www.cactuscode.org/pipermail/users/attachments/20070314/b138f0a8/attachment.bin From heeilkim at gmail.com Tue Mar 13 23:45:54 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Wed, 14 Mar 2007 14:45:54 +0900 Subject: [Users] Porting problem on IBM ppc In-Reply-To: <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> Message-ID: I couldn't attach the file because it's larger than 40kb. I posted it on http://hepth.hanyang.ac.kr/~khi/Domain.c.d Thanks. Hee Il 2007/3/14, Erik Schnetter : > > On Mar 14, 2007, at 00:22:15, Hee Il Kim wrote: > > > Sorry Erik, > > > > I didn't know that option should be given in comand line. I > > attached the log files at configuration and building stages. > > I see. Yes, the option SILENT=no has no effect when you specify it > when you configure. That's arguably confusing in Cactus. > > I think the auto-generated file Domain.c.d is not correct. Can you > send that file? It should be just a few lines long, and it should > contain makefile rules. > > -erik > > -- > Erik Schnetter > > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from www.keyserver.net. > > > > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070314/18b84193/attachment.html From schnetter at cct.lsu.edu Wed Mar 14 01:23:54 2007 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Wed, 14 Mar 2007 02:23:54 -0500 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> Message-ID: On Mar 14, 2007, at 00:45:54, Hee Il Kim wrote: > I couldn't attach the file because it's larger than 40kb. I posted > it on > > http://hepth.hanyang.ac.kr/~khi/Domain.c.d This file contains preprocessed C source code. It should instead contain makefile rules. The problem is that Cactus does not know how to perform certain actions on your architecture. For many architectures Cactus has "known architecture" files that describe these actions; these are located in lib/make/known-architectures. It will be necessary to make Cactus use one of the existing architecture files, or a new one will have to be created. Can you describe the architecture that you are using? For example, what is the output of "uname -a"? What does "lib/make/config.guess" output? Is your architecture similar to AIX? -erik -- Erik Schnetter My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from www.keyserver.net. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://www.cactuscode.org/pipermail/users/attachments/20070314/ade67aaa/attachment.bin From heeilkim at gmail.com Wed Mar 14 02:04:17 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Wed, 14 Mar 2007 17:04:17 +0900 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> Message-ID: # 1. The architecture info from "uname -ra" is hmlee at node482:~/Cactus> uname -ra Linux node482 2.6.5-7.139-pseries64 #1 SMP Fri Jan 14 15:41:33 UTC 2005 ppc64 ppc64 ppc64 GNU/Linux # 2. If HOST_MACHINE is not set, then configuration error shows -------- Without HOST_MACHINE -------------------------- ... ... End of options from user defaults. creating cache ./config.cache checking host system type... /home/hmlee/Cactus/lib/make/config.guess: unable to guess system type ... ... This script, last modified 2001-03-16, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from ftp://ftp.gnu.org/pub/gnu/config/ If the version you run (/home/hmlee/Cactus/lib/make/config.guess) is already up to date, please send the following data and any information you think might be pertinent to in order to provide the needed information to handle your system. config.guess timestamp = 2001-03-16 uname -m = ppc64 uname -r = 2.6.5-7.139-pseries64 uname -s = Linux uname -v = #1 SMP Fri Jan 14 15:41:33 UTC 2005 /usr/bin/uname -p = /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = ppc64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = ppc64 UNAME_RELEASE = 2.6.5-7.139-pseries64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Fri Jan 14 15:41:33 UTC 2005 configure: error: can not guess host type; you must specify one Error creating configuration bench make: *** [bench] Error 2 ------------------------------------------------- # 3. If I set HOST_MACINE=ppc-ibm, then Cactus recognizes my system as AIX. But it failed to build with somewhat different error messages shown below Configuration step ----------------- ... creating cache ./config.cache checking host system type... powerpc-ibm-aix Setting FPP to $(PERL) $(CCTK_HOME)/lib/sbin/cpp.pl checking whether make sets ${MAKE}... yes ... Building step ------------ ... CST finished. Checking status of thorn CoordBase ________________________________________________________________________ make[2]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' if [ ! -d cctk_Bindings/ ] ; then mkdir -p cctk_Bindings/ ; fi echo CCTK_THIS_SUBDIR := cctk_Bindings/ > cctk_Bindings/make.identity if [ ! -d ./ ] ; then mkdir -p ./ ; fi echo CCTK_THIS_SUBDIR := ./ > make.identity make[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' make[2]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' if [ ! -d ./ ] ; then mkdir -p ./ ; fi cd ./ ; make CCTK_TARGET=make.checked TOP=/home/hmlee/Cactus/configs/bench CONFIG=/home/hmlee/Cactus/configs/bench/config-data SRCDIR=/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src THORN=CoordBase USESTHORNS="" -f /home/hmlee/Cactus/lib/make/make.subdir make[3]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' xlc -E -M /home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/GHExtension.c -I"/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh/include" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -I"/home/hmlee/Cactus/configs/bench/config-data" -I"/home/hmlee/Cactus/configs/bench/bindings/include" -I"/home/hmlee/Cactus/src/include" -I"/home/hmlee/Cactus/arrangements" -I"/home/hmlee/Cactus/configs/bench/bindings/Configuration/Thorns" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src" -I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include" -DTHORN_IS_CoordBase -DCCODE > /dev/null ; mv GHExtension.u GHExtension.c.d mv: cannot stat `GHExtension.u': No such file or directory make[3]: *** [GHExtension.c.d] Error 1 make[3]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' make[2]: *** [make.checked] Error 2 make[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase' make[1]: *** [/home/hmlee/Cactus/configs/bench/lib/libthorn_CoordBase.a] Error 2 make[1]: Leaving directory `/home/hmlee/Cactus' make: *** [bench] Error 2 # 4. I tried another host_machines such as linux, ppc-linux-gnu, ppc64-ibm. All the tries ended up with the same error messages that I showed you in the previous mail. I hope you can find a proper configuration for this architecture. Regards, Hee Il 2007/3/14, Erik Schnetter : > > On Mar 14, 2007, at 00:45:54, Hee Il Kim wrote: > > > I couldn't attach the file because it's larger than 40kb. I posted > > it on > > > > http://hepth.hanyang.ac.kr/~khi/Domain.c.d > > This file contains preprocessed C source code. It should instead > contain makefile rules. > > The problem is that Cactus does not know how to perform certain > actions on your architecture. For many architectures Cactus has > "known architecture" files that describe these actions; these are > located in lib/make/known-architectures. It will be necessary to > make Cactus use one of the existing architecture files, or a new one > will have to be created. > > Can you describe the architecture that you are using? For example, > what is the output of "uname -a"? What does "lib/make/config.guess" > output? Is your architecture similar to AIX? > > -erik > > -- > Erik Schnetter > > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from www.keyserver.net. > > > > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070314/0e68dafa/attachment.html From schnetter at cct.lsu.edu Wed Mar 14 21:07:27 2007 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Wed, 14 Mar 2007 22:07:27 -0500 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> Message-ID: Hee Il, thanks for the detailed report. By the way, are you using the stable or the development version of Cactus? I'm afraid that it will be difficult or impossible for us to help you in any detail unless we have access to such a machine. I was hoping that the version numbers and detailed error messages would give us a hint for something that would be easy to correct, but they did not. I describe below what I would try in your case. I don't know whether this will help you much. I think the proper way to handle your system is to make sure that config.guess recognises it as Linux system. Apparently, setting HOST_MACHINE does this, although I am no expert with the GNU config.guess. Updating config.guess may also help. You could try this; newer versions the files "config.guess" and "config.sub" are available on the web. The next step is to create Cactus known-architecture file for this architecture, which probably should just source known-architectures/ linux. See the file "linux-gnu" as example. The last step is then to add support for xlc to the Linux known- architecture file. The AIX known-architecture file is an example. However, there may be an easier way. You can use gcc instead of xlc as compiler. I suggest a recent version, e.g. a variant of 4.1. If this is not already installed on your system you can install it yourself. You have to explicitly enable support for gfortran. Using gcc 3.x is probably asking for trouble later on, as it may not compile all of Carpet's C++ code (you mentioned Carpet before). g77 also cannot handle some of the Fortran 90 thorns. In this case, you can probably set HOST_MACHINE to a Linux architecture. -erik -- Erik Schnetter My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from www.keyserver.net. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://www.cactuscode.org/pipermail/users/attachments/20070314/b14ebe4b/attachment-0001.bin From heeilkim at gmail.com Thu Mar 15 00:25:39 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Thu, 15 Mar 2007 15:25:39 +0900 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> Message-ID: Thanks Erik, I was trying to get the latest config.guess and config.sub since last night. So I tried the files from the lastest libtool package. Without the HOST_MACHINE option, Cactus recognized my system as powerpc64-unknown-linux-gnu. ... checking host system type... powerpc64-unknown-linux-gnu ... But failed to identify f90 compiler ... Unknown Linux f90 compiler. Please add appropriate information to /home/hmlee/Cactus/lib/make/known-architectures/linux and send the updated file to CactusMaint ... So I'm going to make a new known-architecture. But I don't know how to name the new architecture file, i.e, ~/Cactus/lib/make/know-architectures/???_new_arch_??? It's too tough for me to read out the related Cactus files. Could you tell me the naming skeme? Thanks, Hee Il 2007/3/15, Erik Schnetter : > > Hee Il, > > thanks for the detailed report. By the way, are you using the stable > or the development version of Cactus? > > I'm afraid that it will be difficult or impossible for us to help you > in any detail unless we have access to such a machine. I was hoping > that the version numbers and detailed error messages would give us a > hint for something that would be easy to correct, but they did not. > I describe below what I would try in your case. I don't know whether > this will help you much. > > > > I think the proper way to handle your system is to make sure that > config.guess recognises it as Linux system. Apparently, setting > HOST_MACHINE does this, although I am no expert with the GNU > config.guess. Updating config.guess may also help. You could try > this; newer versions the files "config.guess" and "config.sub" are > available on the web. > > The next step is to create Cactus known-architecture file for this > architecture, which probably should just source known-architectures/ > linux. See the file "linux-gnu" as example. > > The last step is then to add support for xlc to the Linux known- > architecture file. The AIX known-architecture file is an example. > > > > However, there may be an easier way. You can use gcc instead of xlc > as compiler. I suggest a recent version, e.g. a variant of 4.1. If > this is not already installed on your system you can install it > yourself. You have to explicitly enable support for gfortran. Using > gcc 3.x is probably asking for trouble later on, as it may not > compile all of Carpet's C++ code (you mentioned Carpet before). g77 > also cannot handle some of the Fortran 90 thorns. > > In this case, you can probably set HOST_MACHINE to a Linux architecture. > > -erik > > -- > Erik Schnetter > > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from www.keyserver.net. > > > > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070315/9dd88102/attachment.html From heeilkim at gmail.com Mon Mar 19 21:49:59 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Tue, 20 Mar 2007 12:49:59 +0900 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> Message-ID: Hi, I'm glad to inform you that I made a working configuration for IBM pseries linux system. Of course, it's just a working example that I made from trials and errors. It should be elaborated further and patched to Cactus by experts. Some important things are; System info: CPU: IBM PowerPC 970 Linux node480 2.6.5-7.139-pseries64 #1 SMP Fri Jan 14 15:41:33 UTC 2005 ppc64 ppc64 ppc64 GNU/Linux OS: SLES 9 Compilers: IBM XL Fortran Advanced Edition for Linux 9.1, IBM XL C/C++ Advanced Edition for Linux 7.0 Tips: 1. config.guess and config.sub should be updated. I tested those from Fedora 6 (timestamp='2005-04-22') and the latest ones from savannah.gnu.org. Then Cactus recognized the system architecture as "powerpc64-unknown-linux-gnu" and required to add the compiler information to ~/Cactus/lib/make/known-architectures/linux-gnu. 2. Simply I modified the original aix and named linux-pseries. And in .../linux-gnu, I changed linux into linux-pseries, i.e. ^^ # in .../linux-gnu . $srcdir/known-architectures/linux-pseries In linux-pseries; 3. The most important thing is that the XL C compiler with "-M" option for linux does not produce ".u" files as its AIX version did. Instead it produces ".d" files which contain the makefile info. So I changed the extension part in linux-pseries file. See the attached files. 4. LIBS=xlf90 is important for successful building. 5. Environment variable OBJECT_MODE is required for 32/64 bit selection. I found Cactus and Carpet run successfully with this prescription Again, it's just a working example. I think it's not difficult for you to elaborate this. Your help would be appreciated. Thanks so much, Erik! Hee Il 2007/3/15, Hee Il Kim < heeilkim at gmail.com>: > > Thanks Erik, > > I was trying to get the latest config.guess and config.sub since last > night. So I tried the files from the lastest libtool package. Without the > HOST_MACHINE option, Cactus recognized my system as > powerpc64-unknown-linux-gnu. > > ... > checking host system type... powerpc64-unknown-linux-gnu > ... > > But failed to identify f90 compiler > > ... > Unknown Linux f90 compiler. > Please add appropriate information to > /home/hmlee/Cactus/lib/make/known-architectures/linux > and send the updated file to CactusMaint > ... > > So I'm going to make a new known-architecture. But I don't know how to > name the new architecture file, i.e, > ~/Cactus/lib/make/know-architectures/???_new_arch_??? > > It's too tough for me to read out the related Cactus files. Could you tell > me the naming skeme? > > Thanks, > > Hee Il > > 2007/3/15, Erik Schnetter < schnetter at cct.lsu.edu>: > > > > Hee Il, > > > > thanks for the detailed report. By the way, are you using the stable > > or the development version of Cactus? > > > > I'm afraid that it will be difficult or impossible for us to help you > > in any detail unless we have access to such a machine. I was hoping > > that the version numbers and detailed error messages would give us a > > hint for something that would be easy to correct, but they did not. > > I describe below what I would try in your case. I don't know whether > > this will help you much. > > > > > > > > I think the proper way to handle your system is to make sure that > > config.guess recognises it as Linux system. Apparently, setting > > HOST_MACHINE does this, although I am no expert with the GNU > > config.guess. Updating config.guess may also help. You could try > > this; newer versions the files " config.guess" and "config.sub" are > > available on the web. > > > > The next step is to create Cactus known-architecture file for this > > architecture, which probably should just source known-architectures/ > > linux. See the file "linux-gnu" as example. > > > > The last step is then to add support for xlc to the Linux known- > > architecture file. The AIX known-architecture file is an example. > > > > > > > > However, there may be an easier way. You can use gcc instead of xlc > > as compiler. I suggest a recent version, e.g. a variant of 4.1. If > > this is not already installed on your system you can install it > > yourself. You have to explicitly enable support for gfortran. Using > > gcc 3.x is probably asking for trouble later on, as it may not > > compile all of Carpet's C++ code (you mentioned Carpet before). g77 > > also cannot handle some of the Fortran 90 thorns. > > > > In this case, you can probably set HOST_MACHINE to a Linux architecture. > > > > > > -erik > > > > -- > > Erik Schnetter > > > > My email is as private as my paper mail. I therefore support encrypting > > > > and signing email messages. Get my PGP key from www.keyserver.net. > > > > > > > > > > _______________________________________________ > > Users mailing list > > Users at cactuscode.org > > http://www.cactuscode.org/mailman/listinfo/users > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070320/9507bdcc/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: linux-pseries Type: application/octet-stream Size: 5297 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/users/attachments/20070320/9507bdcc/attachment-0002.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: config Type: application/octet-stream Size: 616 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/users/attachments/20070320/9507bdcc/attachment-0003.obj From heeilkim at gmail.com Mon Mar 19 23:45:14 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Tue, 20 Mar 2007 14:45:14 +0900 Subject: [Users] Porting problem on IBM ppc In-Reply-To: References: <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> Message-ID: Sorry. I attached a wrong linux-pseries file in the previous mail. The comments on the following lines should be removed as in the original aix file. CCTK_WriteLine make.arch.defn 'F90FLAGS += $(AIX_$(subst .,,$(suffix $<))_FLAGS)' CCTK_WriteLine make.arch.defn 'F77FLAGS += $(AIX_$(subst .,,$(suffix $<))_FLAGS)' CCTK_WriteLine make.arch.defn 'AIX_F90_FLAGS = -qfree' CCTK_WriteLine make.arch.defn 'AIX_f90_FLAGS = -qfree' CCTK_WriteLine make.arch.defn 'AIX_F77_FLAGS = -qfixed' CCTK_WriteLine make.arch.defn 'AIX_f77_FLAGS = -qfixed' CCTK_WriteLine make.arch.defn 'AIX_F_FLAGS = -qfixed' CCTK_WriteLine make.arch.defn 'AIX_f_FLAGS = -qfixed' Hee Il -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070320/0fccbcf2/attachment.html From d.rideout at imperial.ac.uk Mon Mar 26 06:45:56 2007 From: d.rideout at imperial.ac.uk (David Rideout) Date: Mon, 26 Mar 2007 13:45:56 +0100 Subject: [Users] visualizing complex functions Message-ID: <200703261345.56648.d.rideout@imperial.ac.uk> Hi, I have a complex function defined in two real dimensions which I would like to visualize. Are there standard techniques for doing this? e.g. as provided by Cactus? Would anyone mind sharing how they visualize their complex data? Thanks, David From heeilkim at gmail.com Tue Mar 13 23:41:00 2007 From: heeilkim at gmail.com (Hee Il Kim) Date: Wed, 14 Mar 2007 05:41:00 -0000 Subject: [Users] Porting problem on IBM ppc In-Reply-To: <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> References: <5D481E3E-A547-4ACB-B1E0-A8638FAC7D91@cct.lsu.edu> <71C472F3-605E-4BC9-9717-BC67CAA4AC91@cct.lsu.edu> <937A25CB-55A2-4F83-9BC0-A0B0AC1AA0FA@cct.lsu.edu> Message-ID: Thanks. I attached the file. Hee Il 2007/3/14, Erik Schnetter : > > On Mar 14, 2007, at 00:22:15, Hee Il Kim wrote: > > > Sorry Erik, > > > > I didn't know that option should be given in comand line. I > > attached the log files at configuration and building stages. > > I see. Yes, the option SILENT=no has no effect when you specify it > when you configure. That's arguably confusing in Cactus. > > I think the auto-generated file Domain.c.d is not correct. Can you > send that file? It should be just a few lines long, and it should > contain makefile rules. > > -erik > > -- > Erik Schnetter > > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from www.keyserver.net. > > > > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cactuscode.org/pipermail/users/attachments/20070314/65f702c3/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Domain.c.d Type: text/x-dsrc Size: 74522 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/users/attachments/20070314/65f702c3/attachment-0001.bin