Re: [Libmesh-users] Compilation error

2014-10-03 Thread John Peterson
> On Oct 3, 2014, at 11:57 AM, Roy Stogner wrote: > > > > On Fri, 3 Oct 2014, John Peterson wrote: > >>> libtool makes you jump through a bunch of annoying scripts, and >>> unless you need help making your stuff compile on 1990s Unices, the >>> only benefit is that it gets your dependency li

Re: [Libmesh-users] Compilation error

2014-10-03 Thread Roy Stogner
On Fri, 3 Oct 2014, John Peterson wrote: >> libtool makes you jump through a bunch of annoying scripts, and >> unless you need help making your stuff compile on 1990s Unices, the >> only benefit is that it gets your dependency library flags right. >> You had ONE JOB to do, libtool! > > I don't k

Re: [Libmesh-users] Compilation error

2014-10-03 Thread John Peterson
> On Oct 3, 2014, at 11:51 AM, Roy Stogner wrote: > > >> On Fri, 3 Oct 2014, Dana Christen wrote: >> >> That's interesting: link_all_deplibs is set to "no" on this Ubuntu >> 14.04 machine. However, it is set to "unknown" on a machine running >> Ubuntu 13.04, where everything works fine. > >

Re: [Libmesh-users] Compilation error

2014-10-03 Thread Roy Stogner
On Fri, 3 Oct 2014, Dana Christen wrote: > That's interesting: link_all_deplibs is set to "no" on this Ubuntu > 14.04 machine. However, it is set to "unknown" on a machine running > Ubuntu 13.04, where everything works fine. This might be it, then. While looking through some unrelated code hist

Re: [Libmesh-users] Compilation error

2014-10-03 Thread Dana Christen
That's interesting: link_all_deplibs is set to "no" on this Ubuntu 14.04 machine. However, it is set to "unknown" on a machine running Ubuntu 13.04, where everything works fine. FYI, uninstalling the system netcdf and starting from a fresh clone didn't work, but Miguel's workaround did. Dana On

Re: [Libmesh-users] Compilation error

2014-10-03 Thread Roy Stogner
Hey, here's a question - what does link_all_deplibs get set to in your ./libtool script? Debian+Ubuntu disable that, but we depend on it. I *thought* that our practice of distributing the output of bootstrap was enough to avoid requiring deb users to build their own autotools, but perhaps that'

Re: [Libmesh-users] Compilation error

2014-10-03 Thread Dana Christen
Hi Roy, Thanks for your reply. Uninstalling the system netcdf doesn't help. Running make -n shows that the problematic command is the following: /bin/bash ./libtool --silent --tag=CXX --mode=link mpicxx -std=gnu++11 -O2 -felide-constructors -funroll-loops -fstrict-aliasing -Wdisabled-optimizati

Re: [Libmesh-users] Compilation error

2014-10-03 Thread Roy Stogner
On Fri, 3 Oct 2014, Dana Christen wrote: > Just realized there was a typo in my original message: I updated to Ubuntu > 14.04 (latest long-term-support version). This error occurs with GCC 4.7.3, > GCC 4.8.2, with and without the system netcdf libraries. You're not the first person to run into t

Re: [Libmesh-users] Compilation error

2014-10-03 Thread Dana Christen
Just realized there was a typo in my original message: I updated to Ubuntu 14.04 (latest long-term-support version). This error occurs with GCC 4.7.3, GCC 4.8.2, with and without the system netcdf libraries. Thanks, Dana On Fri, Oct 3, 2014 at 12:15 PM, Dana Christen wrote: > Hello, > > I updat

[Libmesh-users] Compilation error

2014-10-03 Thread Dana Christen
Hello, I updated my workstation to Ubuntu 10.04 and libMesh now fails to compile. I'm getting the following error while compiling the latest revision of a fresh libmesh clone: (...) CXXLDmeshid-opt /usr/bin/ld: src/apps/meshid_opt-meshid.o: undefined reference to symbol 'nc_close' //mnt/DATA/