Hi Manish, This will depend on which exact operating system, but you probably want to install the libpython2.7-dev or python-devel package. This should provide the libpython2.7.so file which is missing on your system. Cheers, Chris On 24/08/16 19:59, Sharma, Manish (sharmamh) wrote:
Dear Douglas,
I took your advice and downloaded the master branch from the repository. The code had almost compiled, except at the end it gave the following error:
make[2]: *** No rule to make target '/usr/lib64/libpython2.7.so', needed by 'utilities/Extras/VtkToPng'. Stop. CMakeFiles/Makefile2:5919: recipe for target 'utilities/Extras/CMakeFiles/VtkToPng.dir/all' failed make[1]: *** [utilities/Extras/CMakeFiles/VtkToPng.dir/all] Error 2 Makefile:147: recipe for target 'all' failed make: *** [all] Error 2
What could the reason for this error might be, and how can I resolve it?
I greatly appreciate your help for this. Thank you.
Manish
------------------------------------------------------------------------
*From:*Sharma, Manish (sharmamh) *Sent:* Tuesday, August 23, 2016 6:44:07 PM *To:* Serson, Douglas; nektar-users *Subject:* RE: Nektar++-4.3.3 compilation errors
Thank you very much, Douglas, for providing this solution.
I will use your suggestions and compile the code.
Manish
*From:* Serson, Douglas [mailto:d.serson14@imperial.ac.uk] *Sent:* Tuesday, August 23, 2016 6:35 PM *To:* Sharma, Manish (sharmamh) <sharmamh@mail.uc.edu>; nektar-users <nektar-users@imperial.ac.uk> *Subject:* Re: Nektar++-4.3.3 compilation errors
Dear Manish,
It looks like this is caused by a bug which is already fixed in our master branch, but unfortunately the fix is not in the latest release.
One solution is to get the master branch from the repository. Alternatively, I think this is only a problem when compiling with the NEKTAR_USE_MESHGEN option. If you don't need this functionality, switching it off in cmake should help.
Cheers,
Douglas
------------------------------------------------------------------------
*From:*nektar-users-bounces@imperial.ac.uk <mailto:nektar-users-bounces@imperial.ac.uk> <nektar-users-bounces@imperial.ac.uk <mailto:nektar-users-bounces@imperial.ac.uk>> on behalf of Sharma, Manish (sharmamh) <sharmamh@mail.uc.edu <mailto:sharmamh@mail.uc.edu>> *Sent:* 23 August 2016 23:09:06 *To:* nektar-users *Subject:* [Nektar-users] Nektar++-4.3.3 compilation errors
Dear All,
I am trying to compile the latest version of the code, nektar++-4.3.3, and I am getting the following error:
In file included from /home/manish/nektar++-4.3.3/library/NekMeshUtils/SurfaceMeshing/CurveMesh.h:44:0,
from /home/manish/nektar++-4.3.3/library/NekMeshUtils/SurfaceMeshing/CurveMesh.cpp:36:
/home/manish/nektar++-4.3.3/library/NekMeshUtils/Octree/Octree.h:76:18: error: ‘string’ does not name a type
const string uds)
^
/home/manish/nektar++-4.3.3/library/NekMeshUtils/Octree/Octree.h:183:5: error: ‘string’ does not name a type
string m_udsfile;
^
/home/manish/nektar++-4.3.3/library/NekMeshUtils/Octree/Octree.h: In constructor ‘Nektar::NekMeshUtils::Octree::Octree(Nektar::NekMeshUtils::CADSystemSharedPtr, bool, Nektar::NekDouble, Nektar::NekDouble, Nektar::NekDouble, int)’:
/home/manish/nektar++-4.3.3/library/NekMeshUtils/Octree/Octree.h:78:27: error: class ‘Nektar::NekMeshUtils::Octree’ does not have any field named ‘m_udsfile’
m_verbose(ver), m_udsfile(uds)
^
library/NekMeshUtils/CMakeFiles/NekMeshUtils.dir/build.make:307: recipe for target 'library/NekMeshUtils/CMakeFiles/NekMeshUtils.dir/SurfaceMeshing/CurveMesh.cpp.o' failed
make[2]: *** [library/NekMeshUtils/CMakeFiles/NekMeshUtils.dir/SurfaceMeshing/CurveMesh.cpp.o] Error 1
CMakeFiles/Makefile2:904: recipe for target 'library/NekMeshUtils/CMakeFiles/NekMeshUtils.dir/all' failed
make[1]: *** [library/NekMeshUtils/CMakeFiles/NekMeshUtils.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
This error showed up when compiling the 4.3.2 version of the code too.
What could I be doing wrong, and how can I resolve it?
Looking forward to hearing from you soon.
Thank you,
Manish Sharma
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
-- Chris Cantwell Imperial College London South Kensington Campus London SW7 2AZ Email: c.cantwell@imperial.ac.uk www.imperial.ac.uk/people/c.cantwell