sailfish-team / sailfish

Lattice Boltzmann (LBM) simulation package for GPUs (CUDA, OpenCL)
http://sailfish.us.edu.pl
230 stars 85 forks source link

numpy 1.7 support #23

Closed khwalker closed 10 years ago

khwalker commented 11 years ago

2a80b773 doesn't seem to quite fix it.

[kyle@desk01 examples]$ ./ldc_2d.py [ 1883 INFO Master/desk01] Machine master starting with PID 4770 [ 1884 INFO Master/desk01] Handling subdomains: [0] [ 1884 INFO Master/desk01] Subdomain -> GPU map: {0: 0} [ 1951 INFO Subdomain/0] Initializing subdomain. Process Subdomain/0: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(_self._args, *_self._kwargs) File "/home/kyle/cfd/sailfish-cfd/sailfish/master.py", line 59, in _start_subdomain_runner runner.run() File "/home/kyle/cfd/sailfish-cfd/sailfish/subdomain_runner.py", line 1256, in run self._sim.init_fields(self) File "/home/kyle/cfd/sailfish-cfd/sailfish/lb_base.py", line 107, in init_fields f = runner.make_scalar_field(name=field.name, async=True) File "/home/kyle/cfd/sailfish-cfd/sailfish/subdomain_runner.py", line 243, in make_scalar_field assert field.base is buf

(in reference to this comment to the Google group that should have been put here: https://groups.google.com/forum/?fromgroups=#!topic/sailfish-cfd/tbA5fhFCcMA)

mjanusz commented 10 years ago

This was fixed in 2a80b773.