Such problems usually occur when 'compiler enviornment' is different during petsc build - and this application build.
So things are worked during petsc configure [and build] - but they are are not working during application build. So the issue is to figure out why the env is different in these 2 builds. And in the petsc build - I see: >>> Using C/C++ linker: cc Using C/C++ flags: -g -O3 Using Fortran linker: ftn Using Fortran flags: -g -O3 <<<< On the application build - I see: ftn -O2 -no-ipo -traceback Don't know if these different options are causing these issues. Its good to test with default petsc makefiles [which use the same targets as petsc sources] - if possible. Satish On Wed, 26 Feb 2020, Mark Adams wrote: > Thanks, > we are now getting > /usr/bin/ld: cannot find -lgcc_s. > Any ideas? > Let me know if you want to logs. (it takes a bit of mucking around). > Thanks again, > > > On Tue, Feb 25, 2020 at 10:37 PM Satish Balay <[email protected]> wrote: > > > Try > > > > --with-hwloc=0 > > > > Satish > > > > On Tue, 25 Feb 2020, Mark Adams wrote: > > > > > We are running on a KNL and getting /usr/bin/ld: cannot find -lhwloc > > > > > > This is v3.7.7. > > > > > > I see -lhwloc in the PETSc stuff. We are also missing libX11.a and I am > > > configuring now with > > > --with-x=0 to try to fix that. > > > > > > I've attached to full output and the logs. > > > > > > Any ideas? > > > Thanks, > > > Mark > > > > > > > >
