From dprideout at gmail.com Thu Oct 11 17:56:37 2007 From: dprideout at gmail.com (David Rideout) Date: Thu, 11 Oct 2007 18:56:37 -0400 Subject: [Users] Fortran module dependencies Message-ID: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> How does one 'properly' use a module which is defined in another thorn? I followed FAQ 6 but still get warnings: Warning: While tracing module dependencies: Source file for module "lapack" not found Searched in thorn directory only. Thanks, David From tradke at aei.mpg.de Fri Oct 12 05:12:57 2007 From: tradke at aei.mpg.de (Thomas Radke) Date: Fri, 12 Oct 2007 12:12:57 +0200 Subject: [Users] Fortran module dependencies In-Reply-To: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> References: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> Message-ID: <470F48A9.1090803@aei.mpg.de> David Rideout wrote: > How does one 'properly' use a module which is defined in another > thorn? I followed FAQ 6 but still get warnings: > > Warning: While tracing module dependencies: Source file for module > "lapack" not found > Searched in thorn directory only. Hi David, how does your make.configurations.deps file look like ? -- Cheers, Thomas. From dprideout at gmail.com Fri Oct 12 09:40:44 2007 From: dprideout at gmail.com (David Rideout) Date: Fri, 12 Oct 2007 10:40:44 -0400 Subject: [Users] Fortran module dependencies In-Reply-To: <470F48A9.1090803@aei.mpg.de> References: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> <470F48A9.1090803@aei.mpg.de> Message-ID: <1ce81abb0710120740p30008fd4id6c7628306d2bcd1@mail.gmail.com> My make.code.deps is as follows. Is that the same as make.configuration.deps? Thanks, David #StrongPositivity.F90.o: ../../../CactusExamples/LAPACK/src/lapack.F90.o #StrongPositivity.F90.o: lapack.mod #lapack.mod: $(CCTK_LIBDIR)/../build/LAPACK/lapack.f90 # pwd ifneq (,$(findstring ArrangementA/ThornA,$(THORNS))) $(CCTK_LIBDIR)$(DIRSEP)libQMTBase.a : $(CCTK_LIBDIR)$(DIRSEP)libLAPACK.a endif On 10/12/07, Thomas Radke wrote: > David Rideout wrote: > > How does one 'properly' use a module which is defined in another > > thorn? I followed FAQ 6 but still get warnings: > > > > Warning: While tracing module dependencies: Source file for module > > "lapack" not found > > Searched in thorn directory only. > > Hi David, > > how does your make.configurations.deps file look like ? > > -- > Cheers, Thomas. > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > From tradke at aei.mpg.de Fri Oct 12 09:53:23 2007 From: tradke at aei.mpg.de (Thomas Radke) Date: Fri, 12 Oct 2007 16:53:23 +0200 Subject: [Users] Fortran module dependencies In-Reply-To: <1ce81abb0710120740p30008fd4id6c7628306d2bcd1@mail.gmail.com> References: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> <470F48A9.1090803@aei.mpg.de> <1ce81abb0710120740p30008fd4id6c7628306d2bcd1@mail.gmail.com> Message-ID: <470F8A63.9000001@aei.mpg.de> David Rideout wrote: > My make.code.deps is as follows. Is that the same as make.configuration.deps? No, apparently not, it's included somewhere else. I'm not sure either why there are these two makefile dependency files. Try putting your dependency rule in a make.configurations.deps file. > ifneq (,$(findstring ArrangementA/ThornA,$(THORNS))) > $(CCTK_LIBDIR)$(DIRSEP)libQMTBase.a : $(CCTK_LIBDIR)$(DIRSEP)libLAPACK.a > endif It seems you forgot to substitute 'ArrangementA/ThornA' with the appropriate arrangement/thorn name of yours. -- Cheers, Thomas. From goodale at cct.lsu.edu Fri Oct 12 09:54:52 2007 From: goodale at cct.lsu.edu (Tom Goodale) Date: Fri, 12 Oct 2007 15:54:52 +0100 (BST) Subject: [Users] Fortran module dependencies In-Reply-To: <470F8A63.9000001@aei.mpg.de> References: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> <470F48A9.1090803@aei.mpg.de> <1ce81abb0710120740p30008fd4id6c7628306d2bcd1@mail.gmail.com> <470F8A63.9000001@aei.mpg.de> Message-ID: On Fri, 12 Oct 2007, Thomas Radke wrote: > David Rideout wrote: >> My make.code.deps is as follows. Is that the same as make.configuration.deps? > > No, apparently not, it's included somewhere else. I'm not sure either > why there are these two makefile dependency files. > Try putting your dependency rule in a make.configurations.deps file. One is for dependencies of files within your thorn or for custom rules to make things in your thorn, the other is for things which affect a confuguration as a whole. Tom From dprideout at gmail.com Fri Oct 12 10:46:55 2007 From: dprideout at gmail.com (David Rideout) Date: Fri, 12 Oct 2007 11:46:55 -0400 Subject: [Users] Fortran module dependencies In-Reply-To: References: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> <470F48A9.1090803@aei.mpg.de> <1ce81abb0710120740p30008fd4id6c7628306d2bcd1@mail.gmail.com> <470F8A63.9000001@aei.mpg.de> Message-ID: <1ce81abb0710120846i135f7636k4818781a062b1d8d@mail.gmail.com> I see, thanks. Grepping for make.configuration.deps in the UsersGuide yields nothing... Any takers? Cheers, David On 10/12/07, Tom Goodale wrote: > On Fri, 12 Oct 2007, Thomas Radke wrote: > > > David Rideout wrote: > >> My make.code.deps is as follows. Is that the same as make.configuration.deps? > > > > No, apparently not, it's included somewhere else. I'm not sure either > > why there are these two makefile dependency files. > > Try putting your dependency rule in a make.configurations.deps file. > > One is for dependencies of files within your thorn or for custom rules to > make things in your thorn, the other is for things which affect a > confuguration as a whole. > > Tom > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > From dprideout at gmail.com Fri Oct 12 13:44:38 2007 From: dprideout at gmail.com (David Rideout) Date: Fri, 12 Oct 2007 14:44:38 -0400 Subject: [Users] Fortran module dependencies In-Reply-To: <470F8A63.9000001@aei.mpg.de> References: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> <470F48A9.1090803@aei.mpg.de> <1ce81abb0710120740p30008fd4id6c7628306d2bcd1@mail.gmail.com> <470F8A63.9000001@aei.mpg.de> Message-ID: <1ce81abb0710121144t2e0b6e81q75c23bdaac1fb932@mail.gmail.com> Ok, I took this out of make.code.deps and put ifneq (,$(findstring CactusExternal/LAPACK,$(THORNS))) $(CCTK_LIBDIR)$(DIRSEP)libQMTBase.a : $(CCTK_LIBDIR)$(DIRSEP)libLAPACK.a endif in make.configuration.deps. I still get the same warning. -David On 10/12/07, Thomas Radke wrote: > David Rideout wrote: > > My make.code.deps is as follows. Is that the same as make.configuration.deps? > > No, apparently not, it's included somewhere else. I'm not sure either > why there are these two makefile dependency files. > Try putting your dependency rule in a make.configurations.deps file. > > > ifneq (,$(findstring ArrangementA/ThornA,$(THORNS))) > > $(CCTK_LIBDIR)$(DIRSEP)libQMTBase.a : $(CCTK_LIBDIR)$(DIRSEP)libLAPACK.a > > endif > > It seems you forgot to substitute 'ArrangementA/ThornA' with the > appropriate arrangement/thorn name of yours. > > -- > Cheers, Thomas. > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users > From schnetter at cct.lsu.edu Fri Oct 12 21:10:32 2007 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Fri, 12 Oct 2007 19:10:32 -0700 Subject: [Users] Fortran module dependencies In-Reply-To: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> References: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> Message-ID: <27685319-098E-4A37-A4E8-464D28AFA027@cct.lsu.edu> On Oct 11, 2007, at 15:56:37, David Rideout wrote: > How does one 'properly' use a module which is defined in another > thorn? I followed FAQ 6 but still get warnings: > > Warning: While tracing module dependencies: Source file for module > "lapack" not found > Searched in thorn directory only. The thorn which contains the module needs to provide a capability, and the thorn which uses the module needs to require that capability. You can use the module name as the name of the capability. This is declared in the file configuration.ccl. Cactus then automatically handles the thorn dependencies, i.e., it chooses a correct compilation and link order. The other suggested methods using the makefile fragments choose the correct link order, but they do not cause the dependent Fortran file to be recompiled if the module changes, since this dependency will be missed. -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/20071012/80f17c67/attachment.bin From dprideout at gmail.com Mon Oct 15 15:35:34 2007 From: dprideout at gmail.com (David Rideout) Date: Mon, 15 Oct 2007 16:35:34 -0400 Subject: [Users] Fortran module dependencies In-Reply-To: <27685319-098E-4A37-A4E8-464D28AFA027@cct.lsu.edu> References: <1ce81abb0710111556hc7ab5a0k1da5220b05752859@mail.gmail.com> <27685319-098E-4A37-A4E8-464D28AFA027@cct.lsu.edu> Message-ID: <1ce81abb0710151335i725298f8wcbd6db64167d49aa@mail.gmail.com> Thanks, Erik. FAQ 6 should be updated. -David On 10/12/07, Erik Schnetter wrote: > On Oct 11, 2007, at 15:56:37, David Rideout wrote: > > > How does one 'properly' use a module which is defined in another > > thorn? I followed FAQ 6 but still get warnings: > > > > Warning: While tracing module dependencies: Source file for module > > "lapack" not found > > Searched in thorn directory only. > > The thorn which contains the module needs to provide a capability, > and the thorn which uses the module needs to require that > capability. You can use the module name as the name of the > capability. This is declared in the file configuration.ccl. Cactus > then automatically handles the thorn dependencies, i.e., it chooses a > correct compilation and link order. > > The other suggested methods using the makefile fragments choose the > correct link order, but they do not cause the dependent Fortran file > to be recompiled if the module changes, since this dependency will be > missed. > > -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 > > > From Lizhe.Wang at iwr.fzk.de Wed Oct 31 09:18:44 2007 From: Lizhe.Wang at iwr.fzk.de (Wang, Lizhe) Date: Wed, 31 Oct 2007 16:18:44 +0100 Subject: [Users] Cactus on AMD 64bit architecture Message-ID: <53834FBAA22A7F43B76C1BCD2D5A09D301DBD09F@FZKMSX6.ka.fzk.de> Dear all: I want to know whether Cactus can work on AMD 64bit architecture with Suse 10? thanks, Lizhe From schnetter at cct.lsu.edu Wed Oct 31 09:23:19 2007 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Wed, 31 Oct 2007 10:23:19 -0500 Subject: [Users] Cactus on AMD 64bit architecture In-Reply-To: <53834FBAA22A7F43B76C1BCD2D5A09D301DBD09F@FZKMSX6.ka.fzk.de> References: <53834FBAA22A7F43B76C1BCD2D5A09D301DBD09F@FZKMSX6.ka.fzk.de> Message-ID: On Oct 31, 2007, at 10:18:44, Wang, Lizhe wrote: > Dear all: > I want to know whether Cactus can work on AMD 64bit architecture > with Suse 10? Lizhe, I use Cactus regularly on ADM 64-bit platforms. I haven't used SuSE recently, but the particular operating system is usually not an issue, since Cactus is distributed as source code. If you have a C compiler, Make, Perl etc. installed, then the WaveToy example should compile and run out of the box -- keep us posted if not! -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/20071031/94ce8047/attachment.bin From yye00 at cct.lsu.edu Wed Oct 31 09:38:22 2007 From: yye00 at cct.lsu.edu (Yaakoub El-Khamra) Date: Wed, 31 Oct 2007 10:38:22 -0500 Subject: [Users] Cactus on AMD 64bit architecture In-Reply-To: <53834FBAA22A7F43B76C1BCD2D5A09D301DBD09F@FZKMSX6.ka.fzk.de> References: <53834FBAA22A7F43B76C1BCD2D5A09D301DBD09F@FZKMSX6.ka.fzk.de> Message-ID: <1193845102.17692.0.camel@fmws01.cct.lsu.edu> Cactus should work with AMD 64bit with Suse 10. I run it on an AMD64 bit with Fedora. Cheers Yaakoub On Wed, 2007-10-31 at 16:18 +0100, Wang, Lizhe wrote: > Dear all: > I want to know whether Cactus can work on AMD 64bit architecture with Suse 10? > thanks, > Lizhe > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users >