From: Roy S. <roy...@ic...> - 2011-02-03 21:05:30
|
This is a bugfix release - anyone using 0.7.0.3 with adaptive refinement on Hex meshes should upgrade to this or to the svn head. --- Roy |
From: Roy S. <roy...@ic...> - 2011-02-03 22:43:55
|
Compiling a C++ file requires telling the compiler where any necessary header files are located. The easiest way to do that with libMesh examples is to use the provided Makefiles. The "contrib/bin/libmesh-config" script can also be used to get compiler and linker options, or you can include our Make.common within your own Makefile. I'm not sure why you'd be blocked from the libmesh-users mailing list, unless you're not subscribed. I'll Cc: John, who usually handles the mailing list conflict between permissive rules that let spam in vs. restrictive rules that annoy legitimate users. --- Roy On Thu, 3 Feb 2011, franck kalala wrote: > HELLO > > AM NEW ON LIBMESH > > I JUST REGISTERED TWO DAYS AGO, I DONT ANY REPLY ON THE MAILING LIST, IT SAYING THAT I DONT HAVE THE RIGHT TO POST HERE, MAY YOU HELP ME? HAVIN HE > FOLLOWING ERROR MESSAGE > > ************************************************************************************************************ > I just start with libmesh and i try to run the first example in tutorial but failled > > I am under ubuntu and I get this message error when trying to compile the first example oh here http://libmesh.sourceforge.net/examples.php > > eragon@eragon-laptop:~/c++lessons$ g++ mesh.cpp -o ex1 > mesh.cpp:2: fatal error: libmesh.h: No such file or directory > compilation terminated. > **************************************************************************************************************** > > How do we run a simple example like that one? |
From: Roy S. <roy...@ic...> - 2011-02-03 23:25:27
|
In the Debian/Ubuntu package the example Makefiles are /usr/share/doc/libmesh-dev/examples/*/Makefile Those will work, but are kind of hackish - the Debian package is somewhat stripped down, old, and reshuffled compared to the main libMesh release, which I'd recommend you install instead. --- Roy On Thu, 3 Feb 2011, franck kalala wrote: > Thanks very much for your prompt reply. > I am subscribed on the mailing list but > don`t the right to post. my message being rejected, will try again. > I have installed libmesh from synaptic package manager from within Ubuntu. > I don't know how to use the Makefiles your saying about, because I installed > libmesh from synaptic. > > i will be reposting again my error message and the code. > > > 2011/2/3 Roy Stogner <roy...@ic...> > > Compiling a C++ file requires telling the compiler where any necessary > header files are located. The easiest way to do that with libMesh > examples is to use the provided Makefiles. The > "contrib/bin/libmesh-config" script can also be used to get compiler > and linker options, or you can include our Make.common within your own > Makefile. > > I'm not sure why you'd be blocked from the libmesh-users mailing list, > unless you're not subscribed. I'll Cc: John, who usually handles the > mailing list conflict between permissive rules that let spam in vs. > restrictive rules that annoy legitimate users. > --- > Roy > > > On Thu, 3 Feb 2011, franck kalala wrote: > > HELLO > > AM NEW ON LIBMESH > > I JUST REGISTERED TWO DAYS AGO, I DONT ANY REPLY ON THE MAILING LIST, IT SAYING THAT I DONT HAVE THE RIGHT TO POST HERE, MAY YOU > HELP ME? HAVIN HE > FOLLOWING ERROR MESSAGE > > ************************************************************************************************************ > I just start with libmesh and i try to run the first example in tutorial but failled > > I am under ubuntu and I get this message error when trying to compile the first example oh here > http://libmesh.sourceforge.net/examples.php > > eragon@eragon-laptop:~/c++lessons$ g++ mesh.cpp -o ex1 > mesh.cpp:2: fatal error: libmesh.h: No such file or directory > compilation terminated. > **************************************************************************************************************** > > How do we run a simple example like that one? > > > > > -- > ********** > ++++ > --- > * > > > |
From: Roy S. <roy...@ic...> - 2011-02-09 20:33:10
|
On Wed, 9 Feb 2011, franck kalala wrote: > Thank you very much for your reply, > > I run the first example using this > > eragon@eragon-laptop:~/Downloads/libmesh-0.7.0.4/examples/ex0$ make run > > I get this message: > > Makefile:69: .depend: No such file or directory > Compiling C++ (in optimized mode) ex0.C... > Linking ex0-opt... > *************************************************************** > * Running Example ./ex0-opt > *************************************************************** > > Fatal error in MPI_Comm_dup: Invalid communicator, error stack: > MPI_Comm_dup(168): MPI_Comm_dup(comm=0xe8d93200, new_comm=0x2b86e035a368) failed > MPI_Comm_dup(96).: Invalid communicator > make: *** [run] Error 1 > > Any help? Not sure. Your MPI implementation might require you to launch programs with "mpiexec" or "mpirun -np 1" or only after starting an "mpd" daemon; if the former requirement is the problem then you can put any prefix commands into a "LIBMESH_RUN" environment variable to automatically use them from the Makefile. --- Roy |