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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Mahnaz
Forum: Main CFD Forum January 25, 2014, 16:10
Replies: 9
Views: 3,918
Posted By Mahnaz
Thank you very much for your suggestion. I...

Thank you very much for your suggestion. I googled about it very much. My problem is exactly how to link my code to PETSc library during compiling.
Forum: Main CFD Forum January 25, 2014, 15:46
Replies: 9
Views: 3,918
Posted By Mahnaz
I just added { #include "tport_SolveLS.hpp" } in...

I just added { #include "tport_SolveLS.hpp" } in one of my codes. Then I compiled PETSc by using {make -C /opt/petsc-3.4.2/src/ksp} and then I compiled my own code by using {make clean ; make all}...
Forum: Main CFD Forum January 25, 2014, 15:37
Replies: 9
Views: 3,918
Posted By Mahnaz
So if understood right, I dont have to change my...

So if understood right, I dont have to change my basic makefile.
Do I just have to compile PETSc first with using {make -C /opt/petsc-3.4.2/src/ksp} and then make my own c++ code (which I used...
Forum: Main CFD Forum January 25, 2014, 13:34
Replies: 9
Views: 3,918
Posted By Mahnaz
som87: Thank you very much for explanation. Can...

som87: Thank you very much for explanation. Can you explain more in detail how can I call PETSc makefile in another makefile?

I added the following commands in my own makefile to make it ready in...
Forum: Main CFD Forum January 24, 2014, 15:09
Replies: 9
Views: 3,918
Posted By Mahnaz
Adding PETSc to my userdefined Makefile

I am new in PETSc. I have a big c++ code and I want to add PETSc to some of the files that I already have, so I have to change my makefile in a way that it can compile PETSc as well.

Is it...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 06:33.