Error using different atom style and mpirun error

Submitted by mschramm on Wed, 12/16/2015 - 17:59

Hello,
I am receiving the following error when running the hopper drain example from the website.

mschramm@da200b-04 ~/Documents/liggghts/examples/LIGGGHTS/Tutorials_public/Bin_Sim
$ Liggghts<HopDrain_Bonds.txt
LIGGGHTS (Version LIGGGHTS-PUBLIC 3.3.0, compiled 2015-12-11-19:39:06 by mschramm, git commit 9b1fc57b77c483deaf2c0a6c69241c5d4f91e3c2 based on LAMMPS 23 Nov 2013)
ERROR: Invalid atom style (../atom.cpp:432)

I have been able to run the example using atom_style sphere but I now want to add a bond between two particles.

When I type [Liggghts -h] and go to the Atom styles section it lists
* Atom styles:
atomic charge ellipsoid hybrid line
sph sph/var sphere granular

but if I go into the src folder and type [make package-status] it lists that I have the package installed

mschramm@da200b-04 ~/Documents/liggghts/src
$ make package-status
Installed YES: package ASPHERE
Package.sh: line 7: cd: COHESIONMODELS: No such file or directory
Installed NO: package COHESIONMODELS
Installed YES: package MOLECULE
Installed YES: package PASCAL
Installed YES: package POEMS
Installed YES: package RIGID
Package.sh: line 7: cd: SURFACEMODELS: No such file or directory
Installed NO: package SURFACEMODELS
Installed YES: package VORONOI

Does anyone have any idea where I made my mistake?

As for the mpirun error
I have made Liggghts my alliace for lmp_fedora

alias Liggghts=/home/mschramm/Documents/liggghts/src/lmp_fedora

and if I only use Liggghts<"My_Sim", it works and runs, but mpirun Liggghts<"My_Sim" does not. The funny thing is,
mpirun /home/mschramm/Documents/liggghts/src/lmp_fedora<"My_Sim" works just fine. Am I missing something?

Thank you for your time.

mschramm | Fri, 12/18/2015 - 18:44

Found my problem. Asphere was presenting me issues. The package was wanting files .cpp and .h files that were not supplied with the liggghts package from github (atom_vec_tri).

As for my other problem, I substituted
alias Liggghts=/home/mschramm/Documents/liggghts/src/lmp_fedora
with
Liggghts=/home/mschramm/Documents/liggghts/src/lmp_fedora
export Liggghts

and start either a serial run or an mpi run with
Serial --> $Liggghts<"My_File"
MPI --> mpirun -np 4 $Liggghts<"My_File"

This made everything work just fine.