Jump to content
RockWare Support Forum
ramin.safaei

Compiling and linking co2tab3.f with rco2h input data

Recommended Posts

Hi

I am trying to compile and link rco2h input data file with co2tab3.f to generate the table of P and T. The manual just indicates the instruction on an IBM RS/6000 machine while I am using Linux/gfortran compiler. Would you please tell me about the instruction to generate CO2TAB file.

(it is already done and this file is included in TOUGH2-ECO2M source core but I would like to do it by myself and then generate my own data table)

Thanks

Share this post


Link to post
Share on other sites

Because this is really more of a TOUGHREACT question than one related to PetraSim, please post this on LBNLs new support forum:

http:// tough.forumbee.com

Thanks,

Alison

Share this post


Link to post
Share on other sites

Hi

I found the answer, I hope it will help other TOUGH users.

Here is the command to make an executable file from co2tab3.f :

Directory$ gfortran -o xco2tab3 -g -fdefault-real-8 -falign-commons co2tab3.f

Then execute the xco2tab3 with the input data file " rco2h" by following command:

./xco2tab3 <rco2h> CO2TAB

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×