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

Error in Cluster (SLURM) while using openFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2024, 07:14
Default Error in Cluster (SLURM) while using openFoam
  #1
New Member
 
Shubham
Join Date: Jan 2024
Posts: 8
Rep Power: 2
shubhamkv1 is on a distinguished road
Hello,

I am currently attempting to model a source term within a specific cell zone using OpenFOAM 11 and the fvModels option. The dynamic code compiles successfully on my local machine. However, due to the larger size of my case, I need to utilize the high-performance computing cluster available at my institute.

On the cluster, I have successfully compiled the libraries and sources. Nonetheless, the simulation fails when I include the source term (fvModels). If I remove the source term, the simulation runs without issues. Below are the errors encountered when the source term is included:

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib64/libc.so.6"
#3 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) in "/home/apps/compilers/gcc/7.5.0/lib64/libstdc++.so.6"
#4 Foam::IOerrorLocation::IOerrorLocation(Foam::dicti onary const&) at ??:?
#5 Foam::dictionary::lookupEntry(Foam::word const&, bool, bool) const at ??:?
#6 Foam::dictionary::lookup(Foam::word const&, bool, bool) const at ??:?
#7 Foam:olyCellSet::read(Foam::dictionary const&) at ??:?
#8 Foam:olyCellSet:olyCellSet(Foam:olyMesh const&, Foam::dictionary const&) at ??:?
#9 Foam::fvCellSet::fvCellSet(Foam::fvMesh const&, Foam::dictionary const&) at ??:?
#10 Foam::fv::energySourceFvModelscalarSource::energyS ourceFvModelscalarSource(Foam::word const&, Foam::word const&, Foam::fvMesh const&, Foam::dictionary const&) at dynamicCode/energySource/codedFvModelTemplate.C:110
#11 Foam::fvModel::addRemovabledictionaryConstructorTo Table<Foam::fv::energySourceFvModelscalarSource>:: New(Foam::word const&, Foam::word const&, Foam::fvMesh const&, Foam::dictionary const&) at /home/apps/openfoam11/OpenFOAM-dev/src/OpenFOAM/lnInclude/autoPtrI.H:34
#12 Foam::fvModel::New(Foam::word const&, Foam::fvMesh const&, Foam::dictionary const&) at ??:?
#13 Foam::fv::codedFvModel::redirectFvModel() const at ??:?
#14 Foam::fv::codedFvModel::addSup(Foam::GeometricFiel d<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::fvMatrix<double>&) const at ??:?
#15 Foam::tmp<Foam::fvMatrix<double> > Foam::fvModels::sourceTerm<double, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const at ??:?
#16 Foam::solvers::fluid::thermophysicalPredictor() at ??:?
#17 ? at ??:?
#18 __libc_start_main in "/lib64/libc.so.6"
#19 ? at ??:?
/var/spool/slurmd/job68711/slurm_script: line 19: 237091 Segmentation fault foamRun


I would greatly appreciate any insights or suggestions on how to resolve this issue.

Thank you in advance.
shubhamkv1 is offline   Reply With Quote

Reply

Tags
cluster computing, dynamic code, fvmodels, openfoam 11, source code


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
[OpenFOAM.org] mpi shared library issue in Azure cluster & slurm songyi719 OpenFOAM Installation 0 July 25, 2023 04:13
[Other] OpenFOAM on a windows run cluster jfournier OpenFOAM Installation 1 August 20, 2016 18:07
[OpenFOAM.org] Installing OpenFOAM 2.1.0 on ROCKS cluster aerospain OpenFOAM Installation 6 December 15, 2014 04:35
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25


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