From bgiacoma at aei.mpg.de Mon Jul 23 03:26:46 2007 From: bgiacoma at aei.mpg.de (Bruno Giacomazzo) Date: Mon, 23 Jul 2007 10:26:46 +0200 (CEST) Subject: [Users] problems compiling cactus on mac osx with ifort Message-ID: Hi, I have some problems compiling Cactus with the Intel fortran compiler on a MacBookPro with Mac OS X version 10.4.9. I'm using the Intel fortran compiler version 10.0, gcc 4.0.1 and mpich2 version 1.0.5 First of all I had a problem during the configuration since mpich2 doesn't install tarch. So I have applied a patch that Steve sent one year ago to the cactus user ml (I have attached it) and it worked. But I have still problem. At the end I get the following error: Creating cactus_Whisky_carpet in /Users/bgiacoma/Cactus/exe from [...] i686-apple-darwin8-g++-4.0.1: /opt/intel/fc/10.0.016/lib/icrt.link: No such file or directory i686-apple-darwin8-g++-4.0.1: unrecognized option '-Qy' make[1]: *** [/Users/bgiacoma/Cactus/exe/cactus_Whisky_carpet] Error 1 make: *** [Whisky_carpet] Error 2 Googling for it I found that somebody else had the same problem but I was not able to get the solution for it. Any suggestion? I'm using the development version of Cactus. The config file I have used is attached. Thank you, Bruno -- Dr. Bruno Giacomazzo Max Planck Institute for Gravitational Physics Albert Einstein Institute Am Muehlenberg 1 D-14476 Potsdam Germany Tel. : +49 331 567 7183 Fax : +49 331 567 7252 cell. : +49 173 826 4488 email : bgiacoma at aei.mpg.de ------------------------------------------------- There are only 10 types of people in the world: Those who understand binary, and those who don't ------------------------------------------------- -------------- next part -------------- Index: lib/make/extras/MPI/MPICH =================================================================== RCS file: /cactusdevcvs/Cactus/lib/make/extras/MPI/MPICH,v retrieving revision 1.25 diff -u -r1.25 MPICH --- lib/make/extras/MPI/MPICH 24 Oct 2005 09:12:21 -0000 1.25 +++ lib/make/extras/MPI/MPICH 21 Apr 2006 09:57:16 -0000 @@ -43,15 +43,23 @@ # Find the MPICH architecture if test -z "$MPICH_ARCH" ; then - if test -x "$MPICH_DIR/bin/tarch" ; then - MPICH_ARCH=`$MPICH_DIR/bin/tarch` - echo " MPICH architecture is $MPICH_ARCH" - else - echo " Cannot execute $MPICH_DIR/bin/tarch" - exit 2 + # MPICH2 doesn't install tarch + if test ! -x "$MPICH_DIR/bin/mpich2version" ; then + if test -x "$MPICH_DIR/bin/tarch" ; then + MPICH_ARCH=`$MPICH_DIR/bin/tarch` + echo " MPICH architecture is $MPICH_ARCH" + else + echo " Cannot execute $MPICH_DIR/bin/tarch" + exit 2 + fi fi fi +if test -x "$MPICH_DIR/bin/mpich2version" ; then + # see MPICH2 User's Guide, sect. 5.3: Special Issues for C++ + CXXFLAGS="$CXXFLAGS -DMPICH_IGNORE_CXX_SEEK" +fi + # Find the MPICH device - this isn't necessary for mpich-1.2.0 if test -d "$MPICH_DIR/build/$MPICH_ARCH" ; then @@ -176,7 +184,13 @@ fi # Set the MPI version name -MPI_VERSION="MPICH_$MPICH_DEVICE" +if test -x "$MPICH_DIR/bin/mpich2version" ; then + MPICH2_VERSION=`mpich2version -v` + MPICH2_DEVICE=`mpich2version -d` + MPI_VERSION="MPICH2 ${MPICH2_VERSION} (${MPICH2_DEVICE})" +else + MPI_VERSION="MPICH_$MPICH_DEVICE" +fi # Finally set the library lines. MPI_LIBS="$MPICH_LIB $MPICH_DEVICE_LIBS" ------------------------------------------------------------------------ * Previous message: [Users] trouble building cactus <001800.html> * Next message: [Users] problem with CactusEinstein/ADMConstraints and AEIThorns/Exact <001801.html> * *Messages sorted by:* [ date ] [ thread ] [ subject ] [ author ] ------------------------------------------------------------------------ More information about the Users mailing list -------------- next part -------------- # CONFIGURATION : Whisky_carpet # CONFIG-DATE : Sun Jul 22 17:53:26 2007 (GMT) # CONFIG-HOST : mac20.local # CONFIG-STATUS : 0 # CONFIG-OPTIONS : BLAS_DIR=/usr/lib CFLAGS=-Drestrict= -std=c99 -DMPICH_IGNORE_CXX_SEEK CPPFLAGS=-DMPICH_IGNORE_CXX_SEEK CXXFLAGS=-DMPICH_IGNORE_CXX_SEEK F77=ifort F90=ifort FPP=${PERL} ${CCTK_HOME}/lib/sbin/cpp.pl GSL_DIR=/sw/lib HDF5=yes HDF5_DIR=/usr/local LAPACK=yes LAPACK_DIR=/Library/Frameworks/Intel_MKL.framework/Versions/Current/lib/32 MPI=MPICH MPICH_DIR=/usr/local PERL=perl THORNLIST=Whisky_carpet.th THORNLIST_DIR=thornlists From dorband at cct.lsu.edu Mon Jul 23 03:37:26 2007 From: dorband at cct.lsu.edu (Nils Dorband) Date: Mon, 23 Jul 2007 10:37:26 +0200 Subject: [Users] problems compiling cactus on mac osx with ifort In-Reply-To: References: Message-ID: Hi Bruno, I don't know what the problem you see is, but I am sending you the configuration that I am successfully using with os x (it is a bit messy and some options are taken from Erik, so I am not sure to what extend they are needed). It is using the gnu fortran compiler with lam mpi. I did not try intel yet, simply because gnu was working fine for me. I hope that helps for the moment, Nils On Jul 23, 2007, at 10:26 AM, Bruno Giacomazzo wrote: > -------------- next part -------------- A non-text attachment was scrubbed... Name: config Type: application/octet-stream Size: 2050 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/users/attachments/20070723/fc905ae6/attachment.obj -------------- next part -------------- From bgiacoma at aei.mpg.de Mon Jul 23 03:50:45 2007 From: bgiacoma at aei.mpg.de (Bruno Giacomazzo) Date: Mon, 23 Jul 2007 10:50:45 +0200 (CEST) Subject: [Users] problems compiling cactus on mac osx with ifort In-Reply-To: References: Message-ID: Nils, On Mon, 23 Jul 2007, Nils Dorband wrote: > I don't know what the problem you see is, but I am sending you the > configuration that I am successfully using with os x (it is a bit messy and > some options are taken from Erik, so I am not sure to what extend they are > needed). It is using the gnu fortran compiler with lam mpi. I did not try > intel yet, simply because gnu was working fine for me. I will try your configuration. I'm using Intel since gfortran cannot compile some other fortran90 codes I have. Cheers, Bruno -- Dr. Bruno Giacomazzo Max Planck Institute for Gravitational Physics Albert Einstein Institute Am Muehlenberg 1 D-14476 Potsdam Germany Tel. : +49 331 567 7183 Fax : +49 331 567 7252 cell. : +49 173 826 4488 email : bgiacoma at aei.mpg.de ------------------------------------------------- There are only 10 types of people in the world: Those who understand binary, and those who don't ------------------------------------------------- From dprideout at gmail.com Wed Jul 25 09:51:11 2007 From: dprideout at gmail.com (David Rideout) Date: Wed, 25 Jul 2007 16:51:11 +0200 Subject: [Users] ygraph Message-ID: <1ce81abb0707250751i4e05ac40qee70b5c850e7f48c@mail.gmail.com> Hi, I notice that the ygraph link from http://www.cactuscode.org/Visualization/yGraph is broken. What is the current status? Is there somewhere I can get a recent statically linked binary? (My FC4 libraries seem to be too old for the binary I found from debian.) Thanks, David From frank.loeffler at aei.mpg.de Wed Jul 25 10:01:06 2007 From: frank.loeffler at aei.mpg.de (Frank Loeffler) Date: Wed, 25 Jul 2007 17:01:06 +0200 Subject: [Users] ygraph In-Reply-To: <1ce81abb0707250751i4e05ac40qee70b5c850e7f48c@mail.gmail.com> References: <1ce81abb0707250751i4e05ac40qee70b5c850e7f48c@mail.gmail.com> Message-ID: <20070725150106.GR902@peterpan.ap.op.sissa.it> On Wed, Jul 25, 2007 at 04:51:11PM +0200, David Rideout wrote: > My FC4 libraries seem to be too old for the binary I > found from debian. Even the oldstable version? http://packages.debian.org/oldstable/science/ygraph Frank From dprideout at gmail.com Wed Jul 25 10:27:02 2007 From: dprideout at gmail.com (David Rideout) Date: Wed, 25 Jul 2007 17:27:02 +0200 Subject: [Users] ygraph In-Reply-To: <20070725150106.GR902@peterpan.ap.op.sissa.it> References: <1ce81abb0707250751i4e05ac40qee70b5c850e7f48c@mail.gmail.com> <20070725150106.GR902@peterpan.ap.op.sissa.it> Message-ID: <1ce81abb0707250827g7a3332dev41c4e573a2010c24@mail.gmail.com> Ah, that works. Though I see that it is the same version number as my ancient binary from 2002. My 2002 version effectively crashed my X server when I ran it on a file with 150,000 timesteps. I was hoping that this bug(?) would be fixed in a newer version. Is the 'ygraph homepage' gone? Thanks, David On 7/25/07, Frank Loeffler wrote: > On Wed, Jul 25, 2007 at 04:51:11PM +0200, David Rideout wrote: > > My FC4 libraries seem to be too old for the binary I > > found from debian. > > Even the oldstable version? > > http://packages.debian.org/oldstable/science/ygraph > > Frank > > _______________________________________________ > Users mailing list > Users at cactuscode.org > http://www.cactuscode.org/mailman/listinfo/users >