Seems like switching to opt build has removed the linking errors.
Thanks,
Jim


On Thu, Jun 20, 2013 at 4:02 PM, Jim Fonseca <jefons...@gmail.com> wrote:

> Just realized the "--whole archive" issue was probably due to a problem
> loading gnu compiler and cray compiler being used instead...
> Thanks,
> Jim
>
>
>
> On Thu, Jun 20, 2013 at 3:37 PM, Jim Fonseca <jefons...@gmail.com> wrote:
>
>> Hi John,
>> On the local cluster (RCAC-Carter) we use  intel/13.0.1.117 compilers
>> On Blue Waters, I am using gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch
>> revision 152973].
>>
>> I've attached our Makefile for PETSc 3.4 on Blue Waters and the config
>> log for that. Let me know if I can provide something else.
>>
>> I should also say that I have been able to build PETSc 3.4 and libmesh
>> master (from May 15th) on my Mac (i686-apple-darwin11-llvm-gcc-4.2 (GCC)
>> 4.2.1).
>>
>> I tried removing the --with-methods option so that libmesh would try all
>> three (gdb opt devel) but I got this error
>> make[4]: Entering directory
>> `/mnt/a/u/sciteam/jfonseca/NEMO5_PETSc_34_dynamic_MAGMA/libs/libmesh/libmesh/contrib/netcdf/
>> 4.2.1.1/liblib'
>>   CCLD     libnetcdf.la
>> CC-2115 craycc: ERROR in command line
>>   "--whole-archive" is an invalid command-line option.
>>
>> I wasn't using --whole-archive at all so I'm just cleared out my whole
>> libmesh directory and started with something fresh from git. I'll let you
>> know how that goes...
>>
>> Thanks for your help
>> Jim
>>
>>
>>
>>
>> On Thu, Jun 20, 2013 at 12:50 PM, John Peterson <jwpeter...@gmail.com>wrote:
>>
>>>
>>>
>>>
>>> On Thu, Jun 20, 2013 at 10:12 AM, Jim Fonseca <jefons...@gmail.com>wrote:
>>>
>>>> Hi Ben,
>>>> Just -g and O0
>>>> The linking problem is on Blue Waters.
>>>> I will try opt/devel. There was another group member who had tried with
>>>> opt
>>>> in the past and he ran into problems (I'm not sure what those were).
>>>>
>>>
>>> What compilers do you use?
>>>
>>> How do you build/install PETSc?  You can post your PETSc
>>> config/make/make install commands if it's not too long, or send it to me
>>> directly.
>>>
>>> --
>>> John
>>>
>>
>>
>>
>> --
>> Jim Fonseca, PhD
>> Research Scientist
>> Network for Computational Nanotechnology
>> Purdue University
>> 765-496-6495
>> www.jimfonseca.com
>>
>>
>>
>
>
> --
> Jim Fonseca, PhD
> Research Scientist
> Network for Computational Nanotechnology
> Purdue University
> 765-496-6495
> www.jimfonseca.com
>
>
>


-- 
Jim Fonseca, PhD
Research Scientist
Network for Computational Nanotechnology
Purdue University
765-496-6495
www.jimfonseca.com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to