Skip to content

Binaries compiled with shared libraries are not properly installed #430

Description

@CallumG-Ed

Hello Everyone,

My aim is to run a very simple single turbine example in a non-turbulent constant velocity (across the rotor) flow.

I run linux Ubuntu 18.04 so I built OpenFAST with the flag "DBUILD_OPENFAST_CPP_API:BOOL=ON"

I have navigated to /openfast/glue-codes/openfast-cpp/src and attempted to run the example case "FAST_Prog.cpp" by downloading the iDriver into the directory and envoking comand mpiexec -np openfastcpp as per the manual. This returns an error "mpiexec was unable to find the specified executable file..."

Therefore I edit "openfastcpp" to the full path ie: mpiexec -np /openfast/install/bin/openfastcpp . This returns an error: "error while loading shared libraries: libopenfastcpplib.so: cannot open shared object file: No such file or directory"

So I have a few questions:

  1. What is the protocol to setting up a simulation? Was it incorrect to download the iDriver file into the src directory and attempt to run from there? (It didn't feel right).

  2. How do I overcome the error I am now presented with.

  3. Is there a way of running a module, say aerodyn, independently on linux systems?

Any and all help gratefully recieved!

Cheers
Callum

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions