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

compiling with openmpi 2018

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2018, 17:36
Default compiling with openmpi 2018
  #1
Member
 
Tom Jentink
Join Date: Jan 2013
Posts: 61
Rep Power: 13
jentink is on a distinguished road
getting an error on csr.c in metis routines. it's just a warning, but my parallel config is not running parallel, so I'm wondering if this is the problem.

CC GKlib/libmetis_a-csr.o
GKlib/csr.c(796): warning #3180: unrecognized OpenMP #pragma
#pragma omp parallel private(i, j, ncand, rsum, tsum, cand)
^

GKlib/csr.c(800): warning #3180: unrecognized OpenMP #pragma
#pragma omp for schedule(static)
jentink is offline   Reply With Quote

Old   November 6, 2018, 18:11
Default
  #2
Member
 
Tom Jentink
Join Date: Jan 2013
Posts: 61
Rep Power: 13
jentink is on a distinguished road
I got rid of the warning with --with-metis-cppflags="-fopenmp"
Now to see if it will run in parallel
jentink is offline   Reply With Quote

Old   November 7, 2018, 12:06
Default
  #3
Member
 
Tom Jentink
Join Date: Jan 2013
Posts: 61
Rep Power: 13
jentink is on a distinguished road
It won't run the partitioning step now. It gets to "Read Grid File Information", lists the number of points, and then dies, saying "could not launch executable"

I'm using a pbs scheduler, and have all my path and environment set up properly i'm pretty sure.
jentink is offline   Reply With Quote

Old   November 8, 2018, 06:53
Default
  #4
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14
pcg is on a distinguished road
What version of openmpi are you using specifically (x.y.z)?

How are you compiling the code?

Before using a scheduler, have you tried running on a local machine?
pcg is offline   Reply With Quote

Old   November 8, 2018, 09:41
Default
  #5
Member
 
Tom Jentink
Join Date: Jan 2013
Posts: 61
Rep Power: 13
jentink is on a distinguished road
openmpi_3.0.1_intel_2018
intel_2018.2.199

Haven't tried serial since it's really of no use to me and I can't run interactive on our main cluster.

Right now, it seems to be a path issue to whatever is called to do the grid partitioning. But when I had that step working, it would load one cpu up with the entire parmetis job and eventually die due to maxxing out the memory.
jentink is offline   Reply With Quote

Old   November 8, 2018, 16:58
Default Solved
  #6
Member
 
Tom Jentink
Join Date: Jan 2013
Posts: 61
Rep Power: 13
jentink is on a distinguished road
I went with mpt instead of openmpi and it is working!

configure --prefix=/u/tjentink/SU2 --exec-prefix=/u/tjentink/SU2 --docdir=/u/tjentink/SU2 CXXFLAGS=-O2 --enable-metis --enable-parmetis --enable-cgns --enable-mpi --with-cc=mpicc --with-cxx=mpicxx --enable-tecio --libdir=/opt/hpe/hpc/mpt/mpt-2.16
jentink 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
NUMAP FOAM Summer School 2018 hjasak OpenFOAM Announcements from Other Sources 0 March 1, 2018 07:19
OpenFOAM Training February-July 2018: Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 January 29, 2018 16:34
[OpenFOAM.org] Issues with OpenMPI compilation Regis_ OpenFOAM Installation 5 July 15, 2015 11:14
ThirdParty compilation error during OF-1.6-ext installation achyutan OpenFOAM Installation 21 February 28, 2013 06:58
Compiling 14 decompositionMethods with OpenMPI gschaider OpenFOAM Bugs 2 July 5, 2008 11:35


All times are GMT -4. The time now is 13:07.