GithubHelp home page GithubHelp logo

Comments (8)

unicfdlab avatar unicfdlab commented on May 29, 2024

Hello, it looks like you have downloaded version from the wrong branch, because in the digitef-dev-1912 branch, which corresponds to OpenFOAM+1912 we don't have any links to -lpisoCentral, see https://github.com/unicfdlab/hybridCentralSolvers/tree/digitef-dev-1912 file Sources/pimpleCentralFoam/Make/options:

-L$(FOAM_USER_LIBBIN) \
-lpimpleCentral \
-lfiniteVolume \
-lfluidThermophysicalModels \
-lspecie \
-lturbulenceModels \
-lcompressibleTransportModels \
-lcompressibleTurbulenceModels \
-lmeshTools \
-lfvOptions

from hybridcentralsolvers.

atenamsv avatar atenamsv commented on May 29, 2024

Thanks for your reply. That was the problem, but still I have an error while compiling rhoPimpleCentralFoam. I tried to compile rhoPimpleCentralFoam, but I receive this error:

/usr/bin/ld: cannot open output file /opt/OpenFOAM/OpenFOAM-v1912/platforms/linux64GccDPInt320pt/bin/rhoPimpleCentralFoam: Permission denied
collect2: ld returned 1 exit status
make: *** [/opt/OpenFOAM/OpenFOAM-v1912/platforms/linux64GccDPInt320pt/bin/rhoPimpleCentralFoam] Error 1

there is no such a file in mentioned directory, The question is how can I create a permission in bin folder for rhoPimpleCentralFoam?

from hybridcentralsolvers.

unicfdlab avatar unicfdlab commented on May 29, 2024

Hi, it looks like you are trying to write into protected (system) folder. You must switch the destination folder of the hybridCentralSolvers project binaries. In the root of the repository's branch you will find script SwitchDest . This script allows to switch destination of binary files (executables and libraries) . Run:

./SwitchDest USER

to set PATH for hybridCentralSolvers executables to $FOAM_USER_APPBIN

./SwitchDest

to set PATH for hybridCentralSolvers executables to $FOAM_APPBIN.
Then you must run compilation again

from hybridcentralsolvers.

atenamsv avatar atenamsv commented on May 29, 2024

Thanks for your quick answer. Unfortunately, I did what you advised me, Downloaded v1912 files, called ./SwitchDest User and then tried to compile, but i still have errors (see photoes)
image
image

from hybridcentralsolvers.

unicfdlab avatar unicfdlab commented on May 29, 2024

As the first step, can you switch your console to English before running commands:

export LC_ALL=C

from hybridcentralsolvers.

unicfdlab avatar unicfdlab commented on May 29, 2024

Then, run

Allwclean

from hybridcentralsolvers.

unicfdlab avatar unicfdlab commented on May 29, 2024

Allwmake

from hybridcentralsolvers.

atenamsv avatar atenamsv commented on May 29, 2024

Thanks a lot for your kind help, It works now.

from hybridcentralsolvers.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.