sailfish-team / sailfish

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

ZMQError: Protocol not supported on Windows #33

Open nlooije opened 8 years ago

nlooije commented 8 years ago

I recently tried to get Sailfish running under Windows 10 and ran into a problem with the ZeroMQ. Apparently the IPC protocol is unsupported under Windows and TCP should be used. The problem occurs at this line:

master_addr = 'ipc://{0}/sailfish-master-{1}_{2}'.format(
    tempfile.gettempdir(), os.getpid(), subdomain.id)

I expect this is low priority but would it be possible to make this implementation platform agnostic somehow? I am not familiar enough ZMQ to make PR for this myself; when changing the line to the TCP protocol located at '127.0.0.1:5555' i got pickle error about thread.locks.

nlooije commented 8 years ago

A workaround for now was to use the flag --debug_single_process

TomTranter commented 7 years ago

Hi @nlooije , I am having the same problem. Did you ever fix it? Wouldn't the work around reduce parallel functionality? I'm pretty new to LBM and so far having a nightmare installing everything. I don't know how anyone manages to do this in Linux - I couldn't get the nvidia drivers installed without breaking Linux!