發表文章

目前顯示的是 11月 12, 2018的文章

PyOpenCL not running on a server-node with a Nvidia Tesla card

圖片
up vote 0 down vote favorite I am trying to run a script that uses PyOpenCL (or PyCuda) to executes a simulation on the Tesla GPU on a node of a compute cluster. However, I get the following error: LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR If I run it in plain OpenCL, using a C++ code, there is no problem, so it is not that OpenCL is not installed properly. But I would like to run it from Jupiter (or plain python), and this doesn't work. Switching to PyCuda doesn't help, also gives an error. Some additional information: my python installation is Anaconda3-5.2.0-Linux-x86_64 with PyOpenCL added via conda. Who can help me with this? Thanks in advance, Johan linux opencl pycuda pyopencl share | improve this question edited 2 days ago asked 2 days ago Johan vd Koppel 1 1 New contributor Johan vd Koppel is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check...

41st parallel north

圖片
41° 41st parallel north Map all coordinates using: OpenStreetMap  Download coordinates as: KML  ·  GPX The 41st parallel north is a circle of latitude that is 41 degrees north of the Earth's equatorial plane. It crosses Europe, the Mediterranean Sea, Asia, the Pacific Ocean, North America, and the Atlantic Ocean. At this latitude the sun is visible for 15 hours, 8 minutes during the summer solstice and 9 hours, 13 minutes during the winter solstice. [1] Contents 1 Around the world 2 United States 3 See also 4 References Around the world Starting at the prime meridian and heading eastwards, the parallel 41° north passes through: Co-ordinates Country, territory or sea Notes 41°0′N 0°0′E  /  41.000°N 0.000°E  / 41.000; 0.000  ( Prime Meridian )   Spain 41°0′N 0°56′E  /  41.000°N 0.933°E  / 41.000; 0.933  ( Mediterranean...

ejabberd and backend integration

圖片
up vote 0 down vote favorite I have a social network that written in Microsoft tech stack and when users register on that I create an Ejabberd user using rest API until now everything works perfectly. But for chat clients authentication with Ejabberd, I don't want to send Ejabberd username and password to clients. I want to send a token to clients to authenticate. Questions: Did I chose write approach to integration? If yes, how can I clients authentication token from Ejabberd? If no, in scenarios like this what is the right approach? c# xmpp ejabberd share | improve this question asked 2 days ago Mehdi 1,454 1 11 30 add a comment  |  up vote 0 down vote favorite I have a social network that written in Microsoft tech stack and when users register on that I create an Ejabberd user using rest API until now everything works perfectly. But for chat clients authentication with Ejabberd, I don't want to send Ejabberd usern...