hodgesse1 / rfortran

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

can't compile test_rfortran_cvf #104

Open GoogleCodeExporter opened 8 years ago

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

1.I compiled test_rfotran_cf according to the tutorial but failed.
2.Error: An array-valued argument is required in this context.   [SUM]
    character(len = sum(real_len(r)) + size(r) +2) :: ch  !< the string to be returned
3.361 error(s), 2 warning(s)

*** On which Windows operating system?
winxp
*** What Fortran compiler (name and version number) are you using?
cvf6.6
*** What version of R are you using?
r2.13.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: C:\Program Files\R\R-2.13.1\bin\i386\Rgui.exe
 Debug    : RGuiVisible: T
*** 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
see the attachment
*** 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 zzq...@163.com on 2 Nov 2011 at 8:26

Attachments:

GoogleCodeExporter commented 8 years ago
I have downloaded the latest version and installed it under XP. The version of 
R isn't an issue as this is a straight Fortran issue. 

I was able to get it to compile using CVF6.6B. 

1. Within CVF, can you please go to Project - Settings - Fortran and then 
select "Ignore Warnings" under warning level. I think you have it set to 
"Warnings treated as Errors" - hence it is not building for you.

2. If that does not fix it, can you please check under Help - About Developer 
Studio and tell me if you are also using CVF version 6.6B. It could be that 
6.6A or 6.6C have issues.

As a separate matter, I see you have provided a dump of the test program. Can 
you please check the file D:\RFortran\simple test 
programs\_RputRgetRevalRcall_IVF_unitTests\RputRgetRevalRcall_unitTest_resultsSu
mmary.txt

This will tell you whether the interface with R is working. All of the tests 
should read "PASS".

Original comment by Michael....@gmail.com on 3 Nov 2011 at 12:00