On Tue, Aug 18, 2020 at 2:48 PM Ger ry <rangacc...@gmail.com> wrote:

> Thank you very much for your response.
>
> Indeed i checked that libmesh is installed correctly. After ./configure and
> make i ran make check. And now i ran again
>
> cd build/examples/introduction/introduction_ex1
> make check
>
> and
> cd miscellaneous_ex11 (in repo)
>
> make check
>
> in order to be sure and they work fine. tests passed.
>

OK, that's encouraging that at least the build seems to have worked.

Just FYI, based on the error message you posted:

/usr/local/bin/libmesh-config: Command not found

it looks like you configured with "--prefix=/usr/local". This isn't a
problem per se, but it could make it harder to remove libmesh from your
system in the future, in case you ever remove your libmesh build directory,
since then you would lose the "make uninstall" target. My advice would be
to configure with e.g. "--prefix=/usr/local/libmesh" or some other
directory that doesn't exist yet, that way uninstalling is as simple as
rm'ing that directory.

> I also copied the file Makefile form contrib/utils

I think your issue must somehow be related to the Makefile you are using.
Would you mind trying this simplified one instead:

https://gist.github.com/jwpeterson/24bda483b26db5a5759d

There are instructions at that link, but note that this Makefile still
relies on the the libmesh-config script and is currently set up assuming
that your source code ends in .cc, but other than that I think it should
work better for you.

> so that, i don't do anything wrong in the folder where libmesh was
successfully built.

Since you have a git repo, it's actually fine to modify any example you
want to in-place, as you can always easily reset any changes you don't want
to keep. The only thing to keep in mind is that you would modify the
example in the repo but then compile/run it in the build directory. This
may get you up and running faster than messing around with your own
Makefile.

-- 
John

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to