CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Calling ParMetis routines from Fortran - how?

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2021, 15:36
Default
  #21
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
So, if I understand correctly the results, there is indeed a problem when running with 2 cores on randomly ordered grids.

Or, depending from how one can categorize the 1 core results here, the randomly ordered case is indeed more costy.
sbaffini is offline   Reply With Quote

Old   October 19, 2021, 15:49
Default
  #22
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Edit: I completely misinterpreted my own results. Of course there is a run time difference for all versions of Metis and ParMetis depending on locality of the graph
The most important result for me is that ParMetis when run in parallel, can not achieve the same level of quality as the serial version. From other tests, I know that the edgecut value can have a severe impact on solver performance. 5% difference in edgecut translated to 4% difference in solver performance.
sbaffini likes this.

Last edited by flotus1; October 19, 2021 at 17:27.
flotus1 is offline   Reply With Quote

Old   October 20, 2021, 05:39
Default
  #23
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
I don't use parmetis, but if you need help on basic fortran-c interoperability, I created a few example codes for my own projects. I show how to exchange variables, structs, arrays, matrices, and other things between fortran and c.


LINK : https://github.com/aerosayan/fortran-c-interop
sbaffini and arjun like this.
aerosayan is offline   Reply With Quote

Old   October 22, 2021, 04:09
Default
  #24
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Well there is only one real problem remaining
Quote:
Copyright & License Notice
ParMETIS is copyrighted by the Regents of the University of Minnesota. It can be freely used for educational and research purposes by non-profit institutions and US government agencies only. Other organizations are allowed to use ParMETIS only for evaluation purposes, and any further uses will require prior approval.
I get the strong feeling that ParMetis is effectively abandonware. What's worse, I haven't gotten any response to my inquiry yet.
Got any other ideas how to get in touch with the copyright holders?
flotus1 is offline   Reply With Quote

Old   October 22, 2021, 05:21
Default
  #25
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by flotus1 View Post
Well there is only one real problem remaining

I get the strong feeling that ParMetis is effectively abandonware. What's worse, I haven't gotten any response to my inquiry yet.
Got any other ideas how to get in touch with the copyright holders?
https://github.com/KarypisLab/ParMETIS

But I feel that this isn't much different from a direct inquiry
sbaffini 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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Fortran Compilers to write routines in CFX Luiz CFX 1 February 11, 2008 13:02
FSI using Fortran routines Anders CFX 3 February 10, 2008 04:19
User fortran routines, DEBUG AND OUTPUT Bloshchitsyn Vladimir CFX 5 October 29, 2007 01:31
call fortran routines from UDF lily FLUENT 0 March 29, 2005 18:26


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