hodgesse1 / rfortran

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

CVF compiler can not open module file [RFORTRAN] #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
*** What steps will reproduce the problem?

1.I installed the Rfortran following the manual installation successfully.
2.When I compile the test_rfortran_cvf files, it shows "could not find the file 
Rfortran.mod.
3.When I compile the TutEx_AustraliaRainfall_SimpleGraph.f90 in project of 
example1, it shows "Error: Error in opening the library module file. 
[RFORTRAN]."

*** What is the expected output?
The program is complied successfully and the R is opened.
*** What do you see instead?
Error shows and the module [RFORTRAN] can not be found.
*** What version of RFortran are you using?
V3.0.0
*** On which Windows operating system?
Windows XP
*** What Fortran compiler (name and version number) are you using?
Compaq Vistual Fortran 6.6
*** What version of R are you using?
R-2.15.1
*** Run the simple test program, "RFortran\Simple Test Programs\_RputRgetRe
valRcall_IVF_unitTests\RputRgetRevalRcall_IVF_unitTests.exe" and provide a
copy of the RFortran.log file (located in the same folder)
 Debug    : All messages being written to log file (if no path - written to current executable directory): RFortran.log
 Debug    : Using msg_db: RFORTRAN, located at D:\RFortran\settings\RFortran_MsgDB.csv
 Debug    : Current executable directory: D:\RFortran\simple test programs\_RputRgetRevalRcall_IVF_unitTests\
 Debug    : RFORTRAN_PATH: D:\RFortran
 Debug    : RFortran Settings File: D:\RFortran\settings\RFortran.set
 Comment  : RFortran is auto-opening R, and will wait 10.0000000000000 secs for R to initialise. To change wait time set  wait4RDef in RFortran.set file OR set dummy argument wait4RIn when calling Rinit
 Debug    : RGuiPath: D:\R\R-2.15.1\bin\i386\Rgui.exe
 Debug    : RGuiVisible: T

---
RFortran Library v3.0.0 - 14 Feb 2011
Copyright (C) 2006-2011 Mark Thyer, Michael Leonard, Dmitri Kavestki. All
 rights reserved.

RFortran is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Please see RFortran_README.txt in the RFortran install folder for details.

If you find RFortran useful please cite it using the following:
  Thyer, M., M. Leonard, D. Kavetski, S. Need, and B. Renard (2011),
  The open source RFortran library for accessing R from Fortran,
  with applications in environmental modelling,
  Environmental Modelling & Software, 26(2), 219-234.

---
 Debug    : R working directory: D:\RFortran\simple test programs\_RputRgetRevalRcall_IVF_unitTests\

*** If there were installer errors - please provide of the output from the
installer window(s)

*** If there were build errors - please provide a copy of the build output
from IVF/CVF
Compiling Fortran...
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(2) : 
Error: Error in opening the Library module file.   [RFORTRAN]
  use RFortran                              ! Access RFortan
------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(6) : 
Error: This name does not have a type, and must have an explicit type.   
[MSG_TAG_LEN]
  character(len=msg_tag_len) :: lastmsg             ! last error messages
----------------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(6) : 
Error: A specification expression is invalid.   [MSG_TAG_LEN]
  character(len=msg_tag_len) :: lastmsg             ! last error messages
----------------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(8) : 
Error: This name does not have a type, and must have an explicit type.   [RINIT]
  ok = Rinit()                             ! Initialise R
-------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(11) : 
Error: This name does not have a type, and must have an explicit type.   
[RFORTRAN_PATH]
  open(10,file=trim(RFortran_Path)//"/Data/AustraliaRainfall.txt")      ! Read rainfall
--------------------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(11) : 
Error: The data types of the argument(s) are invalid.   [TRIM]
  open(10,file=trim(RFortran_Path)//"/Data/AustraliaRainfall.txt")      ! Read rainfall
--------------------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(17) : 
Error: This name does not have a type, and must have an explicit type.   [RPUT]
  ok = Rput("x",x,mv=x<0)                  ! Transfer data (and missing values where x<0) to R 
-------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(20) : 
Error: This name does not have a type, and must have an explicit type.   [REVAL]
  ok = Reval("image(x)")                   ! Create a map of the rainfall
-------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(23) : 
Error: This name does not have a type, and must have an explicit type.   
[LOG_COMMENT]
  call message(log_comment,"The error message:  could not find function 'imagex', is expected as a deliberate test of error handling")
---------------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(26) : 
Error: Keyword arguments are invalid without an explicit interface.   
[LASTMESSAGE]
    call get_messages(lastmessage=lastmsg) ! If ok/=0 retrieve last log message
----------------------^
D:\RFortran\src\tutorial_examples\TutEx_AustraliaRainfall_SimpleGraph.f90(32) : 
Error: This name does not have a type, and must have an explicit type.   
[RCLOSE]
  ok = Rclose()                             ! Close R
-------^
Error executing df.exe.

TutEx_AustraliaRainfall_SimpleGraph.obj - 14 error(s), 0 warning(s)

*** If you have a coding solution to this defect please include the file
(or preferably a svn patch) as an attachment

*** Please provide any additional information below.

Original issue reported on code.google.com by ferm...@gmail.com on 26 Sep 2012 at 2:40