In fact, i hadn't ran "make install". I must had misinterpreted the instructions.
now i ran make install. and it seems successful except for some warnings like the following: libtool: warning: '/home/flexwork/Documents/repos/libmesh/contrib/netcdf/v4/liblib/ libnetcdf.la' has not been installed in '/usr/local/lib' I run the previously mentioned examples and i get: the following using the makefile from https://gist.github.com/jwpeterson/24bda483b26db5a5759d and running make miscellaneous_ex11 for a copy of miscellaneous example 11 with .cc file extension the terminal shows Compiling miscellaneous_ex11.cc and not any errors in the same folder miscellaneous_ex11-opt is created. for completeness i tried using the makefile template from contrib/utils (with the correct paths this time) but for this one i get an error: Linking example-opt... libtool: error: cannot find the library '/usr/local/lib/libnetcdf.la' or unhandled argument '/usr/local/lib/libnetcdf.la' make: *** [Makefile:39: example-opt] Error 1. On Wed, Aug 19, 2020 at 4:11 PM John Peterson <jwpeter...@gmail.com> wrote: > > > On Wed, Aug 19, 2020 at 7:14 AM Ger ry <rangacc...@gmail.com> wrote: > >> I tried the path >> libmesh_config := /usr/local/bin/libmesh-config >> and ran >> make miscellaneous_ex11.cc >> and it gives the following error: >> /bin/sh: 1: /usr/local/bin/libmesh-config: not found >> /bin/sh: 1: /usr/local/bin/libmesh-config: not found >> /bin/sh: 1: /usr/local/bin/libmesh-config: not found >> /bin/sh: 1: /usr/local/bin/libmesh-config: not found >> /bin/sh: 1: /usr/local/bin/libmesh-config: not found >> Compiling miscellaneous_ex11.cc >> make: miscellaneous_ex11.cc: Command not found >> make: *** [Makefile:36: miscellaneous_ex11] Error 127 >> >> I tried starting over again with configure and make in the repo this time >> with the path that is more preferable as follows: >> ./configure --prefix=/usr/local/libmesh >> make >> (executed in the folder repos/libmesh) >> > > Did you run "make install"? > > -- > John > _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users