Again, I would not worry about adding an example but rather just try to build and test standalone. I just reinstalled libmesh adding petsc and other things, repeated the process of running "make -n example-opt" and extracting the compile and link lines and it seems to work ok,
Silent failures can be hard to track down. Normally, you could just start in a debugger. Or, if you think you are missing a library run ldd. It turns out the output of the libtool step is a script that runs .libs/lt-foo. and you can run ldd on this if you want. If you mean it only makes once, you need to insure the dependencies are right but for testing I usually just write a script that rebuilds everything although checking for "newer" would not be too hard. Again, the compile seems normal but maybe someone could explain the odd linking lol. What is the point of this? When I get some simple examples to work and think Iunderstand FEM, I was going to link to a larger program I have which uses tcl and things like jdft. I have no idea how this will go but curious what you find :) ---------------------------------------- > From: harroontheg...@gmail.com > Date: Fri, 12 Aug 2016 12:34:41 -0700 > To: libmesh-users@lists.sourceforge.net > Subject: [Libmesh-users] Example files won't run a second time > > Hello libmesh users!, > I tried to run the example programs using make run_examples but after the > makefile descends into the individual example files it keeps saying > "Nothing to be done for all-am" after trying to make all-am. It doesn't try > to run or modify the programs. I wanted to recompile the eigenproblems_ex2 > with my own .C file in it instead of the one that comes with the examples. > > I did modify the Makefile.am in the example directory, but just to add an > example to the SUBDIRS variable, following the directions of > https://github.com/libMesh/libmesh/wiki/Adding-a-new-example (instructions > for adding a new example program to libMesh). I changed it back though and > now the only difference that I know of between it and the original > Makefile.am is that I commented out the members of the SUBDIRS variable > other than eigenproblems_ex2 which I modified the .C file of. > > My Professor never used make check when downloading libmesh-1.0.0-rc1. > Instead he used make run_examples. > > Does anyone know why the example programs aren't running (they ran the > first time) and how to fix it? > > Thankfully, > Harry Pearce > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. http://sdm.link/zohodev2dev > _______________________________________________ > Libmesh-users mailing list > Libmesh-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libmesh-users ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users