espressomd-users
[Top][All Lists]
Advanced

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

Re: [ESPResSo-users] a problem about Object-in-fluid


From: Iveta Jancigova
Subject: Re: [ESPResSo-users] a problem about Object-in-fluid
Date: Mon, 22 Jul 2019 23:19:15 +0200

Hello Chen,

Could you please, double check the myconfig.hpp file you have in the build directory?

The error 
'espressomd.system.System' object has no attribute ‘max_oif_objects’ 
appears if you try to use the oif objects, but the OIF_GLOBAL_FORCES are not defined in myconfig.hpp. 

Best,
Iva
 
—————————————————————————————————————
Mgr. Iveta Jancigova, PhD
Department of Software Technologies, office: A124
Faculty of Management Science and Informatics
University of Zilina, Slovakia
Cell-in-fluid: Biomedical Modeling & Computation Group: http://cell-in-fluid.kst.fri.uniza.sk


---------- Forwarded message ---------
From: 陈敏 <address@hidden>
Date: Sun, 21 Jul 2019, 18:34
Subject: Re: [ESPResSo-users] a problem about Object-in-fluid
To: Ivan Cimrak <address@hidden>


Hello,
Thanks,
Chen
Ivan Cimrak <address@hidden>于2019年7月22日 周一00:30写道:
Hello,

Could you please provide which version of Espresso you are using? Which branch and commit?

Also, provide the myconfig.hpp file from your workdir, 


Ivan

On Sun, 21 Jul 2019, 15:19 陈敏, <address@hidden> wrote:
Hi everyone, 
I run a scripts, and got the error as fellow:

_________________________________________________________________________ 
~/espresso/build$ ./pypresso nucleus_non_bonded.py 1 
_________________________________________________________________________
Traceback (most recent call last):
  File "nucleus_non_bonded.py", line 94, in <module>
    membrane = oif.OifCell(cell_type = membrane_type, particle_type=0, origin=[7.0,7.0,7.0])
  File "/home/chen/espresso/build/src/python/object_in_fluid/oif_classes.py", line 829, in __init__
    self.cell_type.system.max_oif_objects = self.cell_type.system.max_oif_objects + 1
AttributeError: 'espressomd.system.System' object has no attribute 'max_oif_objects'
_________________________________________________________________________ 

could anyone help me out? 
Regards,
Chen


reply via email to

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