[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ESPResSo-users] activate magnetostatics method DipolarDirectSumCpu

From: ricky
Subject: [ESPResSo-users] activate magnetostatics method DipolarDirectSumCpu
Date: Tue, 7 May 2019 22:49:05 +0800 (CST)

Dear all espressomd users,

I wanted to add the dipolar interactions to my simulation then I followed the manual and used the below code
dd1 = DipolarDirectSumCpu(prefactor=15)
When I executed the 
The system can activate the actor. But when I use the 
           mpirun -n 32 ./pypresso
 I got the following error:
Traceback (most recent call last):
  File "", line 27, in <module>
  File "espressomd/actors.pyx", line 186, in espressomd.actors.Actors.add (/home/zhrq/Downloads/espresso/build2/src/python/espressomd/actors.cpp:5237)
  File "espressomd/actors.pyx", line 49, in espressomd.actors.Actor._activate (/home/zhrq/Downloads/espresso/build2/src/python/espressomd/actors.cpp:2009)
  File "espressomd/magnetostatics.pyx", line 268, in espressomd.magnetostatics.DipolarDirectSumCpu._activate_method (/home/zhrq/Downloads/espresso/build2/src/python/espressomd/magnetostatics.cpp:4859)
  File "espressomd/magnetostatics.pyx", line 274, in espressomd.magnetostatics.DipolarDirectSumCpu._set_params_in_es_core (/home/zhrq/Downloads/espresso/build2/src/python/espressomd/magnetostatics.cpp:5003)
Exception: Could not activate magnetostatics method DipolarDirectSumCpu
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: [[7030,1],0]
  Exit code:    1

What's more, I have an additional question that is I set the prefactor is 15, but what I got from is print(dd1)
          DipolarDirectSumCpu({'prefactor': 0.0})
The version of espresso is 4.0.2 and the features I have are 

I'm really need your help, Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]