thanks a lot! I had a lot of problems with compiling vtk so I ended up just using binaries sudo apt install libvtk7-dev libvtk7.1p in ubuntu 22.04 & I managed to make auto LIGGGHTS & run some of the examples! Thanks for the awesome videos 😍
Hey, thank you for the great video! I am running into a problem that I haven't encountered in this comment section. I followed every step in this tutorial, but paraview somehow fails to display the data. Once I open "chute_*" and "mesh_*" in the pipeline browser and hit "apply" like you in the video, I can still not see any data. I have tried resetting the camera, rotating, zooming to data, nothing works. Can you help me with this problem? The "eyes" in the pipeline browser indicate that it should be visible. The data is in vtk format. Thanks!
Hey Dancycat, thanks for you comment. Sometimes it's not easy to find out what causes a problem. Good that you found an easy solution, by changing the versions 😅
Thanks for such an informative video, but after the simulation, I don't see any files related to the simulation in the folder. Can you please help me out? Thanks in advance!!
Thanks for your comment Shubham, no we don't have one. Maybe we do it on some point in the future. However, the simulation using linux makes more sense because you will be 10 - 20 % faster
@@engineerdo6568 I am so greatfull for all your tutorials! Hope I will be able to get everything running on my computer. But their is onely one problem i am using a windowns computer aswell and am not allowed to use linux. I cannot wait untill your windows installation video. I want to do it in the same way like you dit in de conveyer screw video. Is their a small change their will be a tutorial about installing Liggghts and paraview on a windows computer soon? Thank you a lot already! You helped me a lot with my graduation!
Thank you for such an informative video. I just wondered can we do the simulation in Windows OS? What are the pros and cons of working on Windows OS and Ubuntu?
Danke dafür! Ich bin jemand der hin und wieder sein OS kaputt macht und installiere deshalb schon zum 3 mal liggghts. Wo liegt der unterschied zwischen export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/LIGGGHTS-PUBLIC/lib/vtk/install/lib/ und export LD_LIBRARY_PATH=~/LIGGGHTS-PUBLIC/lib/vtk/install/lib/ ?
@@abdulwasay6830 I had this same problem!The mpi wrapper couldn't find my g++ program. I verified by using: g++ --version Then it gave me a code to install g++. This was helpful: www.cfdem.com/forums/installationcompilation-problem-using-mpi
Hello EngineerDo! I'm having an issue in that I need to disable RST, having had a little read up about this there's a risk irrecoverable data loss with Windows if I do it wrong - don't suppose you have any advice?
Hey Jamie, not sure about that one. However, I recommend to get a second HDD and hook it up to your PC. That's the most secure way to not kill any data on a different drive.
Sir, We tried to install the software on our device but its showing error, and some commands as missing, can you please help us, because our final year project is mainly depends on this software. Please help us sir
I'm not 100% sure what Ubuntu WSL actually is, but as far as I understand, that ubuntu is working under windows, the simulation must be slower than plain Ubuntu
Helllo. Thank you for this, it is very insightful and helpful. I would like to ask what is the minimum computer requirement in order to run a successful DEM project using LIGGGHTS?
Hey Clintzone, this is a very good but also hard to answer question. A standard notebook is definitely sufficient to run basic simulations. However, it will always depend on the number of particles in the simulation.
Thanks a lot for the tutoring video, can you please help us how to create a grid system (cubic cell) on Paraview and how to calculate the number of particles in each cell. I will be appreciated.
Hey Seifeddine, thanks for your question. If you select your particle dump file in paraview you can use the clip command (left upper corner in paraview) to create different clips (regions). Than you can see how many particles are in each clip by checking the information tab. The number of particles is listed there. If you open a new paraview layout you can than plot the values in a line chart or histogram.
After use VTK is set to on and autoinstall VTK is set to on, I try "make auto" but I get the following error: Creating list of contact models completed. make[1]: Entering directory '/home/alondraperez/LIGGGHTS-PUBLIC/src/Obj_auto' Makefile:456: *** 'Could not compile a simple MPI example. Test was done with MPI_INC="" and MPICXX="mpicxx"'. Stop. make[1]: Leaving directory '/home/alondraperez/LIGGGHTS-PUBLIC/src/Obj_auto' make: *** [Makefile:114: auto] Error 2 Has anyone had this problem?
Hey Alondra, It´s looks like a mpi problem. Try to reinstall openMPI. This could solve your issue. You could do this for example by comand: sudo apt install libopenmpi-dev Cheers
@@engineerdo6568 I figured it out. The mpi wrapper couldn't find my g++ program. I verified by using: g++ --version Then it gave me a code to install g++. This was helpful: www.cfdem.com/forums/installationcompilation-problem-using-mpi Thanks!
Hi, if someone could help me, im using lmp380 in the last step and doesnt show me an error but the command doesnt end. i have waited for an hour and nothing happend and its not like the virtual box is frozen or something, is just like the process never ends. Does someone know how i can fix it?
I m getting this error, "mpirun was unable to find the specified executable file, and therefore did not launch the job. This error was first reported for process rank 0; it may have occurred for other processes as well." Could any one help me resolve this please.
I have an installation issue while executing "gedit MAKE/Makefile.user" command followed by "make auto" command. The error is coming like: Could not compile a simple MPI example. Test was done with MPI_INC=" " and MPICXX="mpicxx". Stop. Kindly advice what need to be done.
@EngineerDo LIGGGHTS is running fine but is not using parallel processing. When I try to run a simulation with 8 cores, it only uses 1 by 1 by 1 cores setup. Can you please help!!
I m facing a problem. Could you please tell me. How do i resolve this. Makefile:461: *** 'Could not compile a simple MPI example. Test was done with MPI_INC="" and MPICXX="mpicxx"'. Stop. make[1]: Leaving directory '/home/M/LIGGGHTS-PUBLIC/src/Obj_auto'.
I think I found the solution. This error occurs if "mpi.h" file is missing. I ran a sample code : #include #include int main(int argc, char** argv) { MPI_Init(&argc, &argv); std::cout
Hello, thanks for the great video , it helps a lot. Perhaps the question is dump. But I decided to ask anyway. I am unable to create a symbolic link from lmp_auto to lmp380. I did everything according to the video but it doesn’t teach (Could you help me, I have no one to ask.
I have this message There are not enough slots available in the system to satisfy the 8 slots that were requested by the application: lmp380 Either request fewer slots for your application, or make more slots available for use. A "slot" is the Open MPI term for an allocatable unit where we can launch a process. The number of slots available are defined by the environment in which Open MPI processes are run: 1. Hostfile, via "slots=N" clauses (N defaults to number of processor cores if not provided) 2. The --host command line parameter, via a ":N" suffix on the hostname (N defaults to 1 if not provided) 3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.) 4. If none of a hostfile, the --host command line parameter, or an RM is present, Open MPI defaults to the number of processor cores In all the above cases, if you want Open MPI to default to the number of hardware threads instead of the number of processor cores, use the --use-hwthread-cpus option. Alternatively, you can use the --oversubscribe option to ignore the number of available slots when deciding the number of processes to launch.
hi, thank you so much for this tutorial , but i have a probleme with the AUTO MAKE step i have changed the value from to OFF to ON in the two line (USE VTK and AUTOINSTALL_VTK) but i still have the same error after running auto make
Hey Abdeldjalil, what is the error massage? Auto make error oftens results from error in g++ or openmpi. Best guess is to try reinstall g++ and openmpi. Cheers, EngineerDo
After the command "sudo ln -s ~/LIGGGHTS-PUBLIC/src/lmp_auto /bin/lmp380" I receive the following message: ln: failed to create symbolic link './lmp380': File exist I'm not sure what to do..
Hey Alondra, It looks like that the link in the folder "/LIGGGHTS-PUBLIC/src/lmp_auto /bin/lmp380" has been allready created: "'./lmp380': File exist" Hence, it should work to run liggghts by comand in the terminal: lmp380 Give it a try. Does it work?
Thank you, this video really helped me to get started. One suggestion for potentially solving simulations faster on a laptop or a multi-threaded processor: I found that mpirun by default employs all the CPU's processors but not all the threads of those processors; to use all the threads as well, type: mpirun --use-hwthread-cpus lmp380 -in input.liggghts
Hey there, I had succesfully installed ubuntu besides windows 10...but there was very less space in ubuntu. In attempt to provide some extra space to ubuntu I stuck into grub terminal then in boot menu. None of the key is working to enter in any of the operating system. Help me. I have lenovo thinkpad
Hey Ashi, you probably have to change the partition of your drive. That's the reason why I recommended to use a second HDD. Have a look if your notebook has two slots. If yes, you can put in a second drive and than have windows on one and linux on the second. The Simulation results will also take a lot of space, so working with less than 256 GB will not be satisfying.
Hi, I compiled the ubuntu successfuly and prepared the geometry and script file exactly as per the instructions. But whne I am running the script, I am getting the following error: ERROR: Fix insert/stream (id ins): unknown keyword or wrong keyword order I tried to search the forums bit I could not find much information. Kindly help me to resolve this issue.
Hello sir..Thank you for the video. I am having the below error...kindly help. Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[43926,1],1] Exit code: 1
Hi, I've been following the vid and this thread and find myself still on the same problem regarding the "make Auto". I installed and re-installed g++ and mpi several times and edited the VTK make file (both "on" and "off" settings snd the extra "#"). Yet I find myself getting errors. Has anyone got the same situation?
i have an error Makefile:504: *** 'Could not compile and link a simple MPI example. Test was done with MPI_LIB='. Stop. i have tried reload the module it is showing please help
I am getting a error line before the compilation message: "Invalid MIT-MAGIC-COOKIE-1 key" This is after trying to run LIGGGHTS with lmp380 command. Please help
@@engineerdo6568 Thanks very much for your reply. I tried to reinstall it from the very first step. I am facing some issue at the compiler installation step after installing LIGGGHTS. I am receiving this message: "The following NEW packages will be installed: cmake cmake-data libavcodec-dev libavformat-dev libavutil-dev libboost-dev libboost1.71-dev libcurl4 libjsoncpp1 librhash0 libswresample-dev 0 upgraded, 11 newly installed, 0 to remove and 23 not upgraded. Need to get 21.8 MB of archives. After this operation, 196 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Abort. "
@@engineerdo6568 After the installation, I am facing an error. Please help. The message say: aragorn@Pandora:~/LIGGGHTS-PUBLIC/examples/LIGGGHTS/Tutorials_public/chute_wear$ mpirun -np 8 lmp380 -in in.chute_wear Invalid MIT-MAGIC-COOKIE-1 key-------------------------------------------------------------------------- There are not enough slots available in the system to satisfy the 8 slots that were requested by the application: lmp380 Either request fewer slots for your application, or make more slots available for use. A "slot" is the Open MPI term for an allocatable unit where we can launch a process. The number of slots available are defined by the environment in which Open MPI processes are run: 1. Hostfile, via "slots=N" clauses (N defaults to number of processor cores if not provided) 2. The --host command line parameter, via a ":N" suffix on the hostname (N defaults to 1 if not provided) 3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.) 4. If none of a hostfile, the --host command line parameter, or an RM is present, Open MPI defaults to the number of processor cores In all the above cases, if you want Open MPI to default to the number of hardware threads instead of the number of processor cores, use the --use-hwthread-cpus option. Alternatively, you can use the --oversubscribe option to ignore the number of available slots when deciding the number of processes to launch.
Hey Norman, that's can be problem in you openMpi installation. It also can mean that you wanted to start the simulation with more cores than your computer can provide. You can try to start with "lmp3 -in ..." a single core simulation.
Thank you.Also i have a problem using paraview. I cannot see the post processing files in the paraview after ,loading the files. Although i have followed all the steps mentioned in the tutorial guide. Kindly help
I've never seen a problem like this. Paraview usually does its job very well. Please sent a picture or video of the problem via mail and I'll have a look. The mailadress can be found on our website engineerdo.com
I think I found the solution. This error occurs if "mpi.h" file is missing. I ran a sample code : #include #include int main(int argc, char** argv) { MPI_Init(&argc, &argv); std::cout
thanks a lot! I had a lot of problems with compiling vtk so I ended up just using binaries sudo apt install libvtk7-dev libvtk7.1p in ubuntu 22.04 & I managed to make auto LIGGGHTS & run some of the examples! Thanks for the awesome videos 😍
Thanks for this! I'll be trying it out later and hopefully will be able to finish my undergrad project!
You can do it!
Hey when i ran make auto for the second time, I had to ensure that g++ was installed. Just a heads up
I had the same issue. Just the tutorial is a bit deceiving because it seems to start from a fresh install.
In paraview 5.7.0, if I decrease the opacity by any value less than 1, it completely vanishes, please help
@Random Liviator, Paraview tends to have some bugs. Just try another version. Opacity has a few issues.
Thanks, it's very useful for someone likes me who needs to do the DEM simulation but not familiar with Linux
Glad it was helpful!
Thanks for the great video and the installation guide! Your concise step by step process save from a lot headaches for a newbie like me!
Hey Taosif. Glad it helped!
Thanks for this tutorial! :) looking forward for more on your channel.
Thanks Anoop, you are welcome :)
Hey, thank you for the great video! I am running into a problem that I haven't encountered in this comment section. I followed every step in this tutorial, but paraview somehow fails to display the data. Once I open "chute_*" and "mesh_*" in the pipeline browser and hit "apply" like you in the video, I can still not see any data. I have tried resetting the camera, rotating, zooming to data, nothing works. Can you help me with this problem? The "eyes" in the pipeline browser indicate that it should be visible. The data is in vtk format. Thanks!
i ended up using a different version of paraview. works perfectly now. thanks again for the helpful video!
Hey Dancycat, thanks for you comment. Sometimes it's not easy to find out what causes a problem. Good that you found an easy solution, by changing the versions 😅
@@dancycat Hi Dancycat, what version of Paraview did you use? I am experiencing the same issue.
Thanks for such an informative video, but after the simulation, I don't see any files related to the simulation in the folder. Can you please help me out? Thanks in advance!!
Thanks for the nice video. I was wondering if you have video regarding LIGGGHTS installation on Windows-10
Thanks for your comment Shubham, no we don't have one. Maybe we do it on some point in the future. However, the simulation using linux makes more sense because you will be 10 - 20 % faster
@@engineerdo6568 I am so greatfull for all your tutorials! Hope I will be able to get everything running on my computer. But their is onely one problem i am using a windowns computer aswell and am not allowed to use linux. I cannot wait untill your windows installation video. I want to do it in the same way like you dit in de conveyer screw video. Is their a small change their will be a tutorial about installing Liggghts and paraview on a windows computer soon? Thank you a lot already! You helped me a lot with my graduation!
great job like always mr henric i hope u have time for electrostatic segregation and tribocharging examples keep sharing ur work is priceless
Thanks for the feedback. We keep electrostatic segregation and tribocharging in mind :)
Thank you for such an informative video. I just wondered can we do the simulation in Windows OS? What are the pros and cons of working on Windows OS and Ubuntu?
Thanks Achmad, the advantage of using Linux will be that it is faster by aprox. 20%. So, in 2 weeks of simulation, it will safe you 3 days.
Danke dafür! Ich bin jemand der hin und wieder sein OS kaputt macht und installiere deshalb schon zum 3 mal liggghts. Wo liegt der unterschied zwischen
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/LIGGGHTS-PUBLIC/lib/vtk/install/lib/
und
export LD_LIBRARY_PATH=~/LIGGGHTS-PUBLIC/lib/vtk/install/lib/
?
Thanks, finally I have successfully Installed and I saved myFirstanimation!!
That's very great to hear Somdeb
i'm stuck at the make auto step it shows error even if i change the auto vtk and use vtk to ON. It shows [Makefile:114: auto] Error 2. pls help.
When you open the file and make the autovtk ="on", you should remove the "#" this line
I did it but it doesn't work after that too
@@abdulwasay6830 I had this same problem!The mpi wrapper couldn't find my g++ program. I verified by using:
g++ --version
Then it gave me a code to install g++.
This was helpful: www.cfdem.com/forums/installationcompilation-problem-using-mpi
@@Alondra0721 thank you.
Hey, nice to see how interaction starts to help each other! :-) Go on!
Hello EngineerDo! I'm having an issue in that I need to disable RST, having had a little read up about this there's a risk irrecoverable data loss with Windows if I do it wrong - don't suppose you have any advice?
Hey Jamie, not sure about that one. However, I recommend to get a second HDD and hook it up to your PC. That's the most secure way to not kill any data on a different drive.
@@engineerdo6568 Alright I'll give that a go, thanks!
Sir, We tried to install the software on our device but its showing error, and some commands as missing, can you please help us, because our final year project is mainly depends on this software. Please help us sir
Thank you fo such a nice video. You saved my day!! I have a problem though. I do not seem to find the Guassian points option in paraview?
Hey Krishna, thanks for your comment. I guess you have installed an older version of paraview where you can use the pointsprite features.
Very nice video! Just a note: if you're facing an error that states:'Could not compile a simple MPI example' try installing g++:'sudo apt install g++'
Great tip!
@@engineerdo6568
I HAVE THIS ERROR, BUT G++ DOESN'T SOLVE IT
Sorry if I keep commenting, but I'd like to ask what are the advantages of installing this through Ubuntu WSL vs a separate Ubuntu OS? Thanks so much!
I'm not 100% sure what Ubuntu WSL actually is, but as far as I understand, that ubuntu is working under windows, the simulation must be slower than plain Ubuntu
@@engineerdo6568 I see, ok. Thanks for the reply! I'm trying out installing it with Ubuntu on Windows, yes.
@@bloop1097 were you able to install it Ubuntu wsl? I'm following same path as yours can you please help me?
Hello, Liggghts 3.8.0 is compatible with VTK 8.2.0 or 9.2.0? I can't find version 8.1.0
can you help me with one simulation programme which i am unable to solve if you have time.
Thanks for the tutorial! I have already installed Ubuntu 18.04. Will this commands work on my computer?
Yeah, the general installation flow should work as well.
Best tutorial of Ligggths!!!!!!
Hey Matteo,
thanks for your comment.
Cheers, Engineerdo
Helllo. Thank you for this, it is very insightful and helpful. I would like to ask what is the minimum computer requirement in order to run a successful DEM project using LIGGGHTS?
Hey Clintzone, this is a very good but also hard to answer question. A standard notebook is definitely sufficient to run basic simulations. However, it will always depend on the number of particles in the simulation.
Creating list of contact models completed.
make[1]: Entering directory '/mnt/d/COMPLETE/4-2/CFD-DEM/LIGGGHTS-PUBLIC/src/Obj_auto'
Makefile:940: *** 'Could not determine suitable appendix of VTK library with VTK_INC="-I/usr/include/vtk-6.3", VTK_LIB="" and VTK_APPENDIX="-6.3"'. Stop.
make[1]: Leaving directory '/mnt/d/COMPLETE/4-2/CFD-DEM/LIGGGHTS-PUBLIC/src/Obj_auto'
make: *** [Makefile:114: auto] Error 2
I'm getting this error can anyone help?
Something went wrong during the installation of VTK. You can try to compile VTK by yourself if a clean system installation does not work for you.
I have exactly the same problem. Were you able to find a solution ?
Mine shows "unable to locate package ffmepg" when i enter the first code. How to fix this?
Thanks a lot for the tutoring video, can you please help us how to create a grid system (cubic cell) on Paraview and how to calculate the number of particles in each cell. I will be appreciated.
Hey Seifeddine, thanks for your question.
If you select your particle dump file in paraview you can use the clip command (left upper corner in paraview) to create different clips (regions). Than you can see how many particles are in each clip by checking the information tab. The number of particles is listed there. If you open a new paraview layout you can than plot the values in a line chart or histogram.
Thanks, very helpful! The g++ must be also installed.
Thanks for pointing out
After use VTK is set to on and autoinstall VTK is set to on, I try "make auto" but I get the following error:
Creating list of contact models completed.
make[1]: Entering directory '/home/alondraperez/LIGGGHTS-PUBLIC/src/Obj_auto'
Makefile:456: *** 'Could not compile a simple MPI example. Test was done with MPI_INC="" and MPICXX="mpicxx"'. Stop.
make[1]: Leaving directory '/home/alondraperez/LIGGGHTS-PUBLIC/src/Obj_auto'
make: *** [Makefile:114: auto] Error 2
Has anyone had this problem?
Hey Alondra,
It´s looks like a mpi problem. Try to reinstall openMPI. This could solve your issue.
You could do this for example by comand:
sudo apt install libopenmpi-dev
Cheers
@@engineerdo6568 I figured it out. The mpi wrapper couldn't find my g++ program. I verified by using:
g++ --version
Then it gave me a code to install g++.
This was helpful: www.cfdem.com/forums/installationcompilation-problem-using-mpi
Thanks!
Me!
Did you find way solving this?
@@Alondra0721 this worked for me - thank you, thumbs up!
thank you for the good video But what should I do if there is no change after correcting from 5:20 to On? Please help me 😭
Hi, if someone could help me, im using lmp380 in the last step and doesnt show me an error but the command doesnt end. i have waited for an hour and nothing happend and its not like the virtual box is frozen or something, is just like the process never ends. Does someone know how i can fix it?
Thanks for this video..But am getting problem in converting it into dump file.??
Hey Preeti, thanks for your comment. Can you point out which problem you are facing?
Thanks, it is hard to find a good videos about it.
Hey Andre, thanks for your feedback. That's really appreciated.
I m getting this error, "mpirun was unable to find the specified executable file, and therefore did not launch the job. This error was first reported for process rank 0; it may have occurred for other processes as well."
Could any one help me resolve this please.
I have an installation issue while executing "gedit MAKE/Makefile.user" command followed by "make auto" command.
The error is coming like: Could not compile a simple MPI example. Test was done with MPI_INC=" " and MPICXX="mpicxx". Stop.
Kindly advice what need to be done.
Hey Abi,
please try to install g++ and openMPI again. Probably there is missing something. Should solve your problem down below.
Cheers, Engineerdo
@@engineerdo6568 thanks for the help, it worked for me well, plz include a video on windows installation of liggghts
@EngineerDo LIGGGHTS is running fine but is not using parallel processing. When I try to run a simulation with 8 cores, it only uses 1 by 1 by 1 cores setup. Can you please help!!
Have you tried to use the processor command within a liggghts script?
make file 114 error how to resolve it
I m facing a problem. Could you please tell me. How do i resolve this.
Makefile:461: *** 'Could not compile a simple MPI example. Test was done with MPI_INC="" and MPICXX="mpicxx"'. Stop.
make[1]: Leaving directory '/home/M/LIGGGHTS-PUBLIC/src/Obj_auto'.
Did you solve this problem? I get the same one :( and i have no idea how to fix it
I think I found the solution. This error occurs if "mpi.h" file is missing.
I ran a sample code :
#include
#include
int main(int argc, char** argv) {
MPI_Init(&argc, &argv);
std::cout
Hello, thanks for the great video , it helps a lot. Perhaps the question is dump. But I decided to ask anyway. I am unable to create a symbolic link from lmp_auto to lmp380. I did everything according to the video but it doesn’t teach (Could you help me, I have no one to ask.
I have this message
There are not enough slots available in the system to satisfy the 8
slots that were requested by the application:
lmp380
Either request fewer slots for your application, or make more slots
available for use.
A "slot" is the Open MPI term for an allocatable unit where we can
launch a process. The number of slots available are defined by the
environment in which Open MPI processes are run:
1. Hostfile, via "slots=N" clauses (N defaults to number of
processor cores if not provided)
2. The --host command line parameter, via a ":N" suffix on the
hostname (N defaults to 1 if not provided)
3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
4. If none of a hostfile, the --host command line parameter, or an
RM is present, Open MPI defaults to the number of processor cores
In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.
Alternatively, you can use the --oversubscribe option to ignore the
number of available slots when deciding the number of processes to
launch.
Thanks for this video; very helpful.
Thanks for the feedback Mauricio!
Vielen Dank :) fand's total hilfreich
Hi Volkan, gern geschehen :)
I followed all the steps and procedures but am unable to create the symbolic link it says file exists what to do 😅
This can happen if you already created the link. If you cannot start the program probably something else is wrong
hi, thank you so much for this tutorial , but i have a probleme with the AUTO MAKE step i have changed the value from to OFF to ON in the two line (USE VTK and AUTOINSTALL_VTK) but i still have the same error after running auto make
Hey Abdeldjalil,
what is the error massage? Auto make error oftens results from error in g++ or openmpi. Best guess is to try reinstall g++ and openmpi. Cheers, EngineerDo
After the command "sudo ln -s ~/LIGGGHTS-PUBLIC/src/lmp_auto /bin/lmp380"
I receive the following message:
ln: failed to create symbolic link './lmp380': File exist
I'm not sure what to do..
Hey Alondra,
It looks like that the link in the folder "/LIGGGHTS-PUBLIC/src/lmp_auto /bin/lmp380" has been allready created:
"'./lmp380': File exist"
Hence, it should work to run liggghts by comand in the terminal: lmp380
Give it a try. Does it work?
@@engineerdo6568 It does not work. I get a message saying:
lmp390: command not found
@@Alondra0721 please try "lmp380" not lmp390.
@@engineerdo6568 Sorry, that was a typo on my end, but I've been doing lmp380 and I get that message.
I even tried skipping to "If LIGGGHTS does not start" and I receive the same message.
can you provide a tutorial on effect of vibrator on hopper with liggghts
That's a very specific request
@@engineerdo6568 I got it bro..if possible could make tutorial on thermal management in aircraft (heat exchanger)
Thank you, this video really helped me to get started. One suggestion for potentially solving simulations faster on a laptop or a multi-threaded processor: I found that mpirun by default employs all the CPU's processors but not all the threads of those processors; to use all the threads as well, type: mpirun --use-hwthread-cpus lmp380 -in input.liggghts
Great suggestion Derwalt! However, I have a feeling that this will make the simualtion slower but we will see after I tried.
Hey there,
I had succesfully installed ubuntu besides windows 10...but there was very less space in ubuntu.
In attempt to provide some extra space to ubuntu I stuck into grub terminal then in boot menu.
None of the key is working to enter in any of the operating system. Help me.
I have lenovo thinkpad
Hey Ashi, you probably have to change the partition of your drive. That's the reason why I recommended to use a second HDD. Have a look if your notebook has two slots. If yes, you can put in a second drive and than have windows on one and linux on the second. The Simulation results will also take a lot of space, so working with less than 256 GB will not be satisfying.
Hi,
I compiled the ubuntu successfuly and prepared the geometry and script file exactly as per the instructions. But whne I am running the script, I am getting the following error:
ERROR: Fix insert/stream (id ins): unknown keyword or wrong keyword order
I tried to search the forums bit I could not find much information. Kindly help me to resolve this issue.
I guess I commented on the wrong video. The script I am running is of the silo tutorial
Please try to compare the two commands of the simulations. Its probably just something very small wrong with the one command
Thanks for this nice video, how to make particles move on one line like this > OOOOOOO ?
Muchas gracias, un gran trabajo!!
Hola Mario, gracias por sus comentarios
Hello sir..Thank you for the video.
I am having the below error...kindly help.
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[43926,1],1]
Exit code: 1
Hey Charith, not sure if this is really the error message...
Hi, I've been following the vid and this thread and find myself still on the same problem regarding the "make Auto". I installed and re-installed g++ and mpi several times and edited the VTK make file (both "on" and "off" settings snd the extra "#"). Yet I find myself getting errors. Has anyone got the same situation?
Hi Nick. have you already solved this? I ran on the same problem. Can you tell me what you did?
@@jinxjinxter5307 nah, not really
@@jinxjinxter5307 still with the same issue, any clue how to solve this?
?
i have an error Makefile:504: *** 'Could not compile and link a simple MPI example. Test was done with MPI_LIB='. Stop.
i have tried reload the module it is showing
please help
Hey Rakesh,
it seems that you have a compiler error. You can try to reinstall g++.
Cheers
i solved it
try :
cd ~/home(or desktop in my case)
Sudo apt-get update
Sudo apt-get install g++
I am getting a error line before the compilation message:
"Invalid MIT-MAGIC-COOKIE-1 key"
This is after trying to run LIGGGHTS with lmp380 command. Please help
Hey Pawan,
thanks for the question. I think liggghts is running and this is just a warning. Have you tried to start a script?
@@engineerdo6568 Thanks very much for your reply. I tried to reinstall it from the very first step. I am facing some issue at the compiler installation step after installing LIGGGHTS. I am receiving this message:
"The following NEW packages will be installed:
cmake cmake-data libavcodec-dev libavformat-dev libavutil-dev libboost-dev
libboost1.71-dev libcurl4 libjsoncpp1 librhash0 libswresample-dev
0 upgraded, 11 newly installed, 0 to remove and 23 not upgraded.
Need to get 21.8 MB of archives.
After this operation, 196 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Abort.
"
Nevermind. Solved it. Didn't know it's a common issue
Your tutorials are the best. You are really doing a favour.
@@engineerdo6568 After the installation, I am facing an error. Please help. The message say:
aragorn@Pandora:~/LIGGGHTS-PUBLIC/examples/LIGGGHTS/Tutorials_public/chute_wear$ mpirun -np 8 lmp380 -in in.chute_wear
Invalid MIT-MAGIC-COOKIE-1 key--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 8
slots that were requested by the application:
lmp380
Either request fewer slots for your application, or make more slots
available for use.
A "slot" is the Open MPI term for an allocatable unit where we can
launch a process. The number of slots available are defined by the
environment in which Open MPI processes are run:
1. Hostfile, via "slots=N" clauses (N defaults to number of
processor cores if not provided)
2. The --host command line parameter, via a ":N" suffix on the
hostname (N defaults to 1 if not provided)
3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
4. If none of a hostfile, the --host command line parameter, or an
RM is present, Open MPI defaults to the number of processor cores
In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.
Alternatively, you can use the --oversubscribe option to ignore the
number of available slots when deciding the number of processes to
launch.
thank you so much!!!
You're welcome!
Sir, we are having error after vtk and autoinstall to on. The make auto step is not working. Give a solution
try installing g++ first with command sudo apt-get install g++
That's the right way. Thanks and very good
@@lokisphere4274 it worked . Thanks!!
@@lokisphere4274 It worked for me too, thanks a lot!
i m having this error while running chute_wear example "There are not enough slots available in your system to satisfy ..."
Hey Norman, that's can be problem in you openMpi installation. It also can mean that you wanted to start the simulation with more cores than your computer can provide.
You can try to start with "lmp3 -in ..." a single core simulation.
Thank you.Also i have a problem using paraview. I cannot see the post processing files in the paraview after ,loading the files. Although i have followed all the steps mentioned in the tutorial guide. Kindly help
I've never seen a problem like this. Paraview usually does its job very well. Please sent a picture or video of the problem via mail and I'll have a look. The mailadress can be found on our website engineerdo.com
I also could not see post processing files in paraview after loading the file.
So. Good.
Maybe can uteach us ''how to compile CFD-DEM on Ubuntu 20.04"?... It will be very good.
Hey Marcelo, thanks for your feedback. A tutorial of cfd dem compilation is in the pipe line :)
@@engineerdo6568 NICE!!!
Pleeeeease
Amazing.
Thank you! Cheers!
Dankeschön
Hey Agus, gern geschehen!
I think I found the solution. This error occurs if "mpi.h" file is missing.
I ran a sample code :
#include
#include
int main(int argc, char** argv) {
MPI_Init(&argc, &argv);
std::cout