search for: ifport

Displaying 2 results from an estimated 2 matches for "ifport".

Did you mean: i_port
2014 Nov 30
1
Using FPP preprocessor for Fortran Code
Dear R Developers, For package seriation I use Fortran code. I recently got a request to add #if defined(__ICC) || defined(__INTEL_COMPILER) USE IFPORT #endif to the code since the Intel Fortran compiler otherwise has problems with rand(). However, to enable the FPP preprocessor I have to either add a compiler flag (-cpp for gFortran) which is possibly not portable or change the extension to .F, .fpp, .FPP (and a few others) which automatical...
2007 Oct 24
4
X11 graphics windows under CMD BATCH
Hi there, I am trying to plot some output from a FORTRAN (ifort) program using R (2.5.1) under batch mode. In the FORTRAN code, I call R in batch mode to execute a script called fig1.R using something like PROGRAM test USE IFPORT IMPLICIT NONE DO !Some function which makes an output file called ~/fortran_output.txt CALL myfunc() !System call to R plotting routine CALL SYSTEM ("open -a x11") CALL SYSTEM ("R CMD BATCH ~/fig1.R") END DO END PROGRAM test The system call goes through fine, an...