After you enter the command “paraview” and If you are encountering errors like “Your OpenGL drivers don’t support required OpenGL, features for basic rendering. Applications cannot continue. Please exit and use an older version. CONTINUE AT YOUR OWN RISK! OpenGL Vendor: Information Unavailable, OpenGL Version: Information Unavailable OpenGL Renderer: Information Unavailable.
The output messages shows
“Unable to find a valid OpenGL 3.2 or later…
failed to create offscreen window
GLEW could not be initialized
To resolve the issue, do run the command, to bypass hardware acceleration
You should have binary called lmp_g++_openmpi. Do a softlink
% ln -s lmp_g++_openmpi lammps
Make and Run USER-GFMD Units Tests
% cd src/USER-GFMD/
% make unittests
% ./unittests
[==========] Running 23 tests from 5 test cases.
[----------] Global test environment set-up.
[----------] 5 tests from CrystalSurfaceTest
[ RUN ] CrystalSurfaceTest.fcc100
[ OK ] CrystalSurfaceTest.fcc100 (0 ms)
[ RUN ] CrystalSurfaceTest.fcc100_supercell
[ OK ] CrystalSurfaceTest.fcc100_supercell (11 ms)
[ RUN ] CrystalSurfaceTest.reverse_indices
[ OK ] CrystalSurfaceTest.reverse_indices (0 ms)
[ RUN ] CrystalSurfaceTest.fcc100_3nn
[ OK ] CrystalSurfaceTest.fcc100_3nn (0 ms)
[ RUN ] CrystalSurfaceTest.fcc100_neighbor_shells
[ OK ] CrystalSurfaceTest.fcc100_neighbor_shells (0 ms)
[----------] 5 tests from CrystalSurfaceTest (12 ms total)
.....
.....
.....
Run Tests
% cd src/USER-GFMD/tests
% sh run_tests.sh ../../lmp_g++_openmpi
I had some errors, but it did not look critical. Tests were run without failures
.....
.....
TEST_Hertz_sc100_128x128_a0_1.3
eval.py:83: RuntimeWarning: invalid value encountered in sqrt
pa_xy = np.where(r_xy<a, p0*np.sqrt(1-(r_xy/a)**2), np.zeros_like(r_xy))
.ok.
TEST_restart
.ok.
Ran 20 tests; 0 failures, 20 successes.
GNU parallel is a shell tool for executing jobs in parallel using one or more computers. A job can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU parallel can then split the input and pipe it into commands in parallel.
g2o is an open-source C++ framework for optimizing graph-based nonlinear error functions. g2o has been designed to be easily extensible to a wide range of problems and a new problem typically can be specified in a few lines of code. The current implementation provides solutions to several variants of SLAM and BA.
A wide range of problems in robotics as well as in computer-vision involve the minimization of a non-linear error function that can be represented as a graph. Typical instances are simultaneous localization and mapping (SLAM) or bundle adjustment (BA). The overall goal in these problems is to find the configuration of parameters or state variables that maximally explain a set of measurements affected by Gaussian noise. g2o is an open-source C++ framework for such nonlinear least squares problems. g2o has been designed to be easily extensible to a wide range of problems and a new problem typically can be specified in a few lines of code. The current implementation provides solutions to several variants of SLAM and BA.
ANTS is a tool for computational neuroanatomy based on medical images. ANTS reads any image type that can be read by ITK (www.itk.org), that is, jpg, tiff, hdr, nii, nii.gz, mha/d and more image types as well. For the most part, ANTS will output float images which you can convert to other types with the ANTS ConvertImagePixelType tool. ImageMath has a bunch of basic utilities such as multiplication, inversion and many more advanced tools such as computation of the Lipschitz norm of a deformation field. ANTS programs may be called from the command line on almost any platform.
CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice.
Step 1: You can use the bootstrap which will default the cmake to default location ie /usr/local/. If you are using bootstrap,
# tar -zxvf cmake-3.21.3.tar.gz
# cd cmake-3.21.3
# ./bootstrap
# make
# make install
Errors encountered
CMake 3.21.3, Copyright 2000-2021 Kitware, Inc. and Contributors
Found GNU toolchain
C compiler on this system is: gcc
C++ compiler on this system is: g++ -std=gnu++1y
Makefile processor on this system is: gmake
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has stl wstring
g++ has <ext/stdio_filebuf.h>
---------------------------------------------
gmake: Warning: File `Makefile' has modification time 0.15 s in the future
gmake: `cmake' is up to date.
gmake: warning: Clock skew detected. Your build may be incomplete.
loading initial cache file /myhome/melvin/Downloads/cmake-3.21.3/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error at CMakeLists.txt:107 (message):
The C++ compiler does not support C++11 (e.g. std::unique_ptr).
-- Configuring incomplete, errors occurred!
See also "/myhome/melvin/Downloads/cmake-3.21.3/CMakeFiles/CMakeOutput.log".
See also "/myhome/melvin/Downloads/cmake-3.21.3/CMakeFiles/CMakeError.log".
Resolutions:
Step 1: You may want to export this before compiling
export CXXFLAGS="-O3"
Step 2: You might want to move to an unmounted directory like /root and try compiling again with root access.
Alternatively, instead of using ./boostrap, you can use the traditional configure command
#./configure --prefix=/usr/local/cmake-3.21.3
# make
# make install
ERROR: Too many elements extracted from MEAM library (current limit:5 ). Increase 'maxelt' in meam.h and recompile.
Last command: pair_coeff * * library.alloy2.meam .............................
Move to /usr/local/lammps-29Oct20/src/USER-MEAMC/meam.h and /usr/local/lammps-29Oct20/src/meam.h. Edit line 22. The default value is #define maxelt 5
#definte maxelt 6
Recompile the lammps. Go to /usr/local/lammps-29Oct20/src
If you are encountering errors like, you may want to check
ERROR: No MEAM parameter file in pair coefficients (../pair_meamc.cpp:243)
When a pair_coeff command using a potential file is specified, LAMMPS looks for the potential file in 2 places. First it looks in the location specified. E.g. if the file is specified as “niu3.eam”, it is looked for in the current working directory. If it is specified as “../potentials/niu3.eam”, then it is looked for in the potentials directory, assuming it is a sister directory of the current working directory. If the file is not found, it is then looked for in one of the directories specified by the LAMMPS_POTENTIALS environment variable. Thus if this is set to the potentials directory in the LAMMPS distribution, then you can use those files from anywhere on your system, without copying them into your working directory. Environment variables are set in different ways for different shells. Here are example settings for