Rebuild issues on Linux #16524
-
Hello, cd moose/ I noticed these lines in the screen output: libtool: warning: '/usr/local/ompi/lib/libmpi_cxx.la' seems to be moved
Also additional messages: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11
Proceeding to the make tests: another block of incompatible messages: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11 The tests do not run. Is there a way to do a clean up and recompile with the existing MOOSE repo? Or should I just make a fresh git clone and start from scratch? Thanks for inputs. -- |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Dear @dealmeidavf Which operating system? Best Regards, |
Beta Was this translation helpful? Give feedback.
-
You don't need to clone a fresh copy of moose in order to do a general clean. To clean MOOSE, first make sure you stash or commit any work you might have in the
in the
This will clear out the Finally, you can navigate to |
Beta Was this translation helpful? Give feedback.
You don't need to clone a fresh copy of moose in order to do a general clean.
To clean MOOSE, first make sure you stash or commit any work you might have in the
moose
directory tree as the next command would remove those if you don't. Then run:git clean -xfd
in the
moose
directory. This will clean up libraries, test output, and other miscellaneous objects used during building. After that, I would clean out the libmesh submodule. Perform these commands within yourmoose
directory:This will clear out the
libmesh
directory and pull a fresh copy of the submodule. You can do the same thing with petsc (just switc…