CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Can not run solver in Nektar++ (https://www.cfd-online.com/Forums/main/232851-can-not-run-solver-nektar.html)

BSengupta January 2, 2021 19:55

Can not run solver in Nektar++
 
Hi!


I am introducing myself very new to Nektar++ (https://www.nektar.info/) opensource code. I installed the code according to the user guide manual. The installing process shows success.


-- Install configuration: "Release"
-- Up-to-date: /home/bidesh/nektar++/build/dist/lib64/nektar++/cmake/Nektar++Libraries.cmake
-- Up-to-date: /home/bidesh/nektar++/build/dist/lib64/nektar++/cmake/Nektar++Libraries-release.cmake
-- Up-to-date: /home/bidesh/nektar++/build/dist/lib64/nektar++/cmake/Nektar++Config.cmake
-- Up-to-date: /home/bidesh/nektar++/build/dist/lib64/nektar++/thirdparty/libblas.so
-- Up-to-date: /home/bidesh/nektar++/build/dist/lib64/nektar++/thirdparty/libblas.so.3
................................



..............................................



..............................
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessScaleInFld.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessDOF.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessInnerProduct.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessGrad.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessPrintFldNorms.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessAddFld.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessQCriterion.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessAddCompositeID.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessInterpPtsToPts.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessInterpPoints.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessC0Projection.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/ProcessModules/ProcessNumModes.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/Module.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/Field.hpp
-- Up-to-date: /home/bidesh/nektar++/build/dist/include/nektar++/FieldUtils/FieldUtilsDeclspec.h
-- Up-to-date: /home/bidesh/nektar++/build/dist/bin/Tester



ctest was successful too.


But when I am trying to run a tutorial such as : ADRSolver, "ADRSolver: command not found" is appearing.


I am not a pro either in C++ or linux, I am trying hard to understand those aswell.



If any member in this group is using nektar and willing to help me a bit, I shall be really helped.



Thank you,
Bidesh.

aerosayan January 8, 2021 03:59

Never used Nektar before. However I think the reason your're not able to run the solver is probably because the solver executable location isn't known to the OS. Most of these big CFD softwares call to different executables. Thus the OS and OS environment should know the locations of these executables.



If you used cmake and make to build the executable, you might want to run "make install" first and if it doesn't work and asks for super user / admin permission, run "sudo make install". If it still doesn't work, try to manually export the solver's location to the $PATH variable ( https://opensource.com/article/17/6/set-path-linux ). <- This may be complicated if you don't use *nix systems. May want to get some help of someone in your department who knows *nix systems.


All times are GMT -4. The time now is 12:27.