CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] Open foam installation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2024, 15:08
Default Open foam installation
  #1
New Member
 
sumit kr
Join Date: Sep 2016
Posts: 4
Rep Power: 10
sumitcool is on a distinguished road
Dear all,


I am working on OpenFoam 2.3.1. I am using source code to install on a cluster.
I want to install OpenFoam on a cluster. For this, I am using spack to load gcc 5.3 and Flexlexer. I created symbolic link for FlexLexer using command

ln -s $HOME/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude/FlexLexer.h $HOME/Software/GNU/Flex/2.5.39/include/FlexLexer.h


But after compiling, i found some errors and at the end of log file, they were showing

make: Target 'application' was not remade because of errors.

this is my bashrc file in home

# Spack

. $HOME/Software/spack/share/spack/setup-env.sh

spack load gcc



# GNU Software

export PATH="$HOME/Software/GNU/Flex/2.5.39/bin:$PATH"

export LD_LIBRARY_PATH="$HOME/Software/GNU/Flex/2.5.39/lib:$LD_LIBRARY_PATH"



# Open MPI

module load openmpi/4.1.1



# OpenFOAM

source $HOME/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc

export WM_NCOMPROCS=8


Kindly help me if some one knows how to figure it out.

Thank you
sumitcool is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 36 July 16, 2024 04:52
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 05:18
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 03:21
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18


All times are GMT -4. The time now is 09:54.