bfiedler / f90tohtml

Automatically exported from code.google.com/p/f90tohtml
0 stars 0 forks source link

"cannot open file call_from" ERROR - Test on Community Atmosphere Model UCAR USA #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. running f90tohtml on the source code for the Community Atmosphere Model
(UCAR, USA)

What is the expected output? What do you see instead?

here is the error after some processing. I added a couple of printouts in
the source for f90to
.
.
found function call:iargc in FMAIN
opening lininterp.F90.html for linking CALL to SUBROUTINE 
opening wrap_nf.F90.html for linking CALL to SUBROUTINE 
--------------------------------------
CFINT2,ARRAY(0x14ee6c30),HASH(0x14ee6cd0)
--------------------------------------
CFINT2 making CALL FROM html file
--------------------------------------
call_from/CFINT2.html,/global/home/users/drosa/Code/cam/f90tohtml/cam_browser/
--------------------------------------
 cannot open file call_from/CFINT2.html at
/global/home/users/drosa/bin/f90tohtml line 461.

What version of the product are you using? On what operating system?
Last version
Linux n0001.scs00 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:10:25 EDT 2009
x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.
a reference to the string cfint2 can be found in 2 source files:

[drosa@n0001 ccp-ucb_wcopy]$ greppa cfint2
217:       call cfint2(ncol, xw, psi, fdot, xxk(1,k), fxdot, fxdd, psistar)
231:  subroutine cfint2 (ncol, x, f, fdot, xin, fxdot, fxdd, psistar)
323:!            write(iulog,*) ' cfint2 limiting important ', cfint, cfnew
331:  end subroutine cfint2
./models/atm/cam/src/physics/cam/dust_sediment_mod.F90
436:       call cfint2(ncol, xw, psi, fdot, xxk(1,k), fxdot, fxdd, psistar)
450:  subroutine cfint2 (ncol, x, f, fdot, xin, fxdot, fxdd, psistar)
513:             call endrun('CFINT2')
550:!            write(iulog,*) ' cfint2 limiting important ', cfint, cfnew
558:  end subroutine cfint2
./models/atm/cam/src/physics/cam/pkg_cld_sediment.F90

I was hoping this program would have worked. I need to visualize CAM.
Thanks
Daniele Rosa

Original issue reported on code.google.com by daniele....@gmail.com on 23 Jun 2009 at 11:34

GoogleCodeExporter commented 9 years ago
Dear Daniele Rosa,

I had a similar problem when I recently tried to create a code browser for my 
code.

Not being a regular user of perl, I used an ad-hoc fix. In the directory 
dir_html, which is defined in the .f2h file, I manually created the call_from, 
call_to and gif subdirectories. This was enough for the script subsequently 
fill the call_from and call_to subdirectories with stuff.

In the gif subdirectory, I had to manually copy gif images of color bars (which 
I had from a previous use of the f90tohtml package).

Hope this helps for you.

Regards,

Peter

Original comment by peter.ho...@ec.gc.ca on 6 Jan 2011 at 8:15