[FLASH-USERS] Problem linking libma28 in Cellular
Kevin Moore
kmoore at physics.ucsb.edu
Tue Jul 16 18:30:33 EDT 2013
I tried that and am still getting the same error. It looks like {FLASH_DIR}/lib/ma28/build.csh was already getting called at the end of "./setup Cellular -auto" as well. I've attached the output of ./build.csh below.
rm -f ../object/libma28.a Ma28.o
/Users/Kevin/mpich-install/bin/mpif90 -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8 -Wuninitialized -c Ma28.F90
ar -r ../object/libma28.a Ma28.o
ar: creating archive ../object/libma28.a
-Kevin
On Jul 16, 2013, at 3:22 PM, Sean Couch wrote:
> Kevin,
>
> Go to {FLASH_DIR}/lib/ma28 and run the "build.csh" script there. Then try re-linking the FLASH application in your object directory.
>
> Sean
>
>
>
> --------------------------------------------------------
> Sean M. Couch, Ph.D.
> Hubble Fellow
> Flash Center for Computational Science
> Department of Astronomy & Astrophysics
> The University of Chicago
> 5747 S Ellis Ave, Jo 315
> Chicago, IL 60637
> (773) 702-3899
> www.flash.uchicago.edu/~smc
>
>
>
> On Jul 16, 2013, at 3:09 PM, Kevin Moore <kmoore at physics.ucsb.edu> wrote:
>
>> Hi all,
>>
>> I'm new to flash (version 4.0.1), and have successfully run the Sedov and Sod simulations on my Mac so far. Right now, I'm trying to run the Cellular simulation and am running into problems in the final linking step when I try to compile it.
>>
>> I try:
>> ./setup Cellular -auto
>> cd object
>> make
>>
>> and it compiles for several minutes before failing on the final large linking step with:
>> ld: in ../lib/ma28/object//libma28.a, archive has no table of contents for architecture x86_64
>> collect2: ld returned 1 exit status
>> make: *** [flash4] Error 1
>>
>> I'm not familiar with this type of error, and didn't find anything on the mailing list about it in the last few years of posts.
>>
>> I built my mpi compilers with the standard xcode gcc: /Users/Kevin/mpich-install/bin/mpif90 -v
>> mpif90 for MPICH version 3.0.4
>> Using built-in specs.
>> COLLECT_GCC=gfortran
>> COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/x86_64-apple-darwin10.3.0/4.5.1/lto-wrapper
>> Target: x86_64-apple-darwin10.3.0
>> Configured with: ../gcc-4_5-branch/configure --prefix=/usr/local/gfortran --enable-languages=c,c++,fortran --with-gmp=/Users/fx/devel/gcc/ibin45/../irun45 --enable-bootstrap --with-included-gettext --with-arch=nocona --with-tune=generic
>> Thread model: posix
>>
>> uname -a gives:
>> Darwin kmoore.physics.ucsb.edu 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 i386
>>
>> Thanks in advance for any help on this issue.
>>
>> -Kevin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20130716/af5d36ad/attachment-0001.htm>
More information about the flash-users
mailing list