You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I met errors in comping phcpy2cpath_d.so for using GPU support of PHCpy.
After compiling phcpy2c2.so, everything works fine.
Then, when compiling phcpy2cpath_d.so, the following error came out:
../Lib/phcpy2cpath_d.cpp: In function ‘PyObject* py2c_solve_system(PyObject*, PyObject*)’:
../Lib/phcpy2cpath_d.cpp:913:11: error: ‘solve_system’ was not declared in this scope
fail = solve_system(&rc,nbtasks);
../Lib/phcpy2cpath_d.cpp: In function ‘PyObject* py2c_standard_deflate(PyObject*, PyObject*)’:
../Lib/phcpy2cpath_d.cpp:950:35: error: too few arguments to function ‘int standard_deflate(int, int, double, double, double)’
int fail = standard_deflate();
As well as several other similar errors. I did a search on all these function names, but there is no function called "solve_system" in all C and Ada code.
Thanks.
The text was updated successfully, but these errors were encountered:
I have also experienced these issues and I was able to get past the compilation stage by updating the makefile instructions for each of the phcpy2cpath_d.so, phcpy2cpath_dd.so, and phcpy2cpath_qd.so and updating function naming conventions in their associated .cpp files. In addition, I had to remove certain flags and include updated CUDA directories in my PATH variable in order to successfully compile. However, upon attempting to import functions defined therein, there was a problem with a local variable "demicsfly". I was not able to circumvent this issue. Looking forward to future releases, even without the GPU accelerated functions the code is immensely useful in my work!
I met errors in comping phcpy2cpath_d.so for using GPU support of PHCpy.
After compiling phcpy2c2.so, everything works fine.
Then, when compiling phcpy2cpath_d.so, the following error came out:
../Lib/phcpy2cpath_d.cpp: In function ‘PyObject* py2c_solve_system(PyObject*, PyObject*)’:
../Lib/phcpy2cpath_d.cpp:913:11: error: ‘solve_system’ was not declared in this scope
fail = solve_system(&rc,nbtasks);
../Lib/phcpy2cpath_d.cpp: In function ‘PyObject* py2c_standard_deflate(PyObject*, PyObject*)’:
../Lib/phcpy2cpath_d.cpp:950:35: error: too few arguments to function ‘int standard_deflate(int, int, double, double, double)’
int fail = standard_deflate();
As well as several other similar errors. I did a search on all these function names, but there is no function called "solve_system" in all C and Ada code.
Thanks.
The text was updated successfully, but these errors were encountered: