Displaying 20 results from an estimated 5000 matches similar to: "dyn.load() function problem help!"
2004 Aug 19
2
(no subject)
Hi, there,
I have a number of F90 codes wish to be linked into R under Windows XP OS.
Do anyone know how to do it and give some advice? Many thanks.
Hanson
2013 Mar 28
2
[LLVMdev] Question about simple constant propagation pass
Hi,
I just started working with llvm, I am trying to test and improve the
constant propagation pass (-constprop),
I have two main questions,
1. I wrote my own test file, which has something like
int a = 1
int b = a + 2;
int c = b + 3;
print c
However, non of the instruction was killed according to -stat. I think
it might due to the fact the llvm instructions generated was a bit
2013 Mar 28
0
[LLVMdev] Question about simple constant propagation pass
Hi Yunming,
On 28/03/13 03:15, yunming zhang wrote:
> Hi,
>
> I just started working with llvm, I am trying to test and improve the constant
> propagation pass (-constprop),
>
> I have two main questions,
>
> 1. I wrote my own test file, which has something like
> int a = 1
> int b = a + 2;
> int c = b + 3;
> print c
>
> However, non
2007 Apr 05
1
is.loaded() and dyn.load()
Dear all,
I am puzzled at the behaviour of is.loaded() when a dyn.load() call to a a
FORTRAN shared library is included in a file to be sourced.
A reproducible example is the following:
1. the attached fortran subroutine try_it.f90 performs a summation of the
elements of a REAL*8 vector
compile with
gfortran try_it.f90 -shared -s -otry_it.dll
2. create a file to be sourced (see the attached
2005 Jul 06
2
Problem with dyn.load...or else...
Hi everybody,
I'm working on Mac OS X and R-2.1.0 (by the way, sorry for the multiple
emails last time, had a technical problem, and thanks for the constructive
comments.)
I have a .R function which calls a .C function. The R function's name is
K_MEANSR.R and the other is K_MEANSC.C.
I compile it with 'R CMD SHLIB K_MEANSC.C' in the terminal. I get both .so
and .o files.
2010 Oct 06
3
[LLVMdev] dragonegg vs -ffast-math?
On Wed, Oct 06, 2010 at 02:26:35PM +0200, Duncan Sands wrote:
> Hi Jack,
>
> > I am finding that llvm 2.8 rc3 with dragonegg svn built against current
> > gcc-4_5-branch doesn't appear to allow gfortran to use -ffast-math. Attempting
> > to compile code using the dragonegg plugin under gcc 4.5.2 with that option produces the error...
> >
> > f951:
2005 Jul 25
1
Fortran function name not in load table
Using R 2.0.1 on Windows XP, I am getting an error
msg:
Error in .Fortran("conic", nxy = nxy, npt = npt, CP =
cp, EP1 = ep1, EP2 = ep2, :
Fortran function name not in load table
I am wondering if there is a way to see what function
names are in the load table? Maybe the function name
has been altered?
The first thing I do in my analysis script is to load
a DLL, conic.dll,
2005 Sep 28
1
gfortran Makefile for cygwin
Hi all,
I'm porting a package that I've worked on for OS X to Cygwin/Windows.
This package requires a Makefile. My question is, how can I find out
(or what is), the link command?
Here is the OS X Makefile:
RLIB_LOC=${R_HOME}
F90_FILES=\
class_data_frame.f90 \
class_old_dbest.f90 \
class_cm_data.f90 \
class_cm.f90 \
class_bgw.f90 \
class_cm_mle.f90 \
cme.f90
FORTRAN_FILES=\
dgletc.f
2005 Sep 28
3
gfortran Makefile for windows
Hi all,
(Originally posted to r-help)
I'm porting a package that I've worked on for OS X to Windows.
The package is written in F95 so I need to compile it with gfortran
and link it with gcc4.
I've been trying to build an R with gcc4 without luck so far. If there is
a binary of such a thing info would be appreciated.
This package requires a Makefile. My question is, how can I find
2020 Apr 07
3
F18 ready to be merged + preview of merge
Hi Mehdi,
I can't replicate those failures at my end, could you let me know what OS, compiler and CMake flags you're using so I can try and reproduce?
Thanks!
David Truby
________________________________
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Mehdi AMINI via llvm-dev <llvm-dev at lists.llvm.org>
Sent: 07 April 2020 06:44
To: Richard Barton
2020 Apr 06
2
F18 ready to be merged + preview of merge
Hi llvm-dev
We believe we have completed enough of the agreed pre-upstreaming changes to start talking about merging F18 into LLVM. The live status is tracked at [1]. There are a few details that we have not managed to hammer out and we propose to tackle inside the LLVM monorepo. I have put a summary of these at the bottom of this mail.
Does anyone have any objections to flang being merged into
2020 Apr 07
3
F18 ready to be merged + preview of merge
Attached is the log.
I'm building with:
clang version 10.0.0 (https://github.com/llvm/llvm-project/
3a6da1122b990386edeba0987d0d1fdc9c8dc53d)
Target: x86_64-unknown-linux-gnu
Thread model: posix
On some Ubuntu-like distribution.
I also ran with ASAN once and it found a bunch of leaks in bin/tco.
Best,
--
Mehdi
On Tue, Apr 7, 2020 at 4:36 AM Richard Barton <Richard.Barton at
2010 Oct 06
0
[LLVMdev] dragonegg vs -ffast-math?
Jack,
> This also seems to be the same failure preventing capacita.f90, gas_dyn.f90, induct.f90, protein.f90, rnflow.f90 and
> test_fpu.f90 from compiling.
This might be a long-standing fortran frontend bug where bogus trees
were created. It was specially workarounded in llvm-gcc.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State
2008 Dec 03
2
changing colnames in dataframes
dear all,
I'm building new dataframes from bigger one's using e.g. columns F76, F83,
F90:
JJ<-data.frame( c( as.character(rep( gender,3))) , c( F76,6- F83, F90) )
Looking into JJ one has:
c.as.character.rep.gender..8...
c.6...F73..F78..F79..F82..6...F84..F94..F106..F109
1 w 2
2 w
2004 Sep 21
3
how to take this experiment with R?
How about:
x <- data.frame(matrix(rnorm(1550),c(50,31)))
model <- step(lm(x[,1] ~ as.matrix(x[,2:31])))
--Matt
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of rongguiwong
Sent: Monday, September 20, 2004 20:52 PM
To: r-help at stat.math.ethz.ch
Subject: [R] how to take this experiment with R?
This message uses
2008 Nov 02
1
[LLVMdev] llvm-2.4 prerelease gfortran results
Building the prerelease of llvm-gcc 2.4 on Intel darwin9
with the following patch...
--- llvm-gcc-4.2-2.3.999-20081024.source/gcc/stub-c.c.org 2008-10-30 18:55:45.000000000 -0400
+++ llvm-gcc-4.2-2.3.999-20081024.source/gcc/stub-c.c 2008-10-30 18:57:29.000000000 -0400
@@ -157,3 +157,27 @@
{
gcc_assert(0);
}
+
+
+bool cvt_utf8_utf16 (const unsigned char *, size_t, unsigned char **,
+
2010 Oct 06
0
[LLVMdev] dragonegg vs -ffast-math?
Hi Jack,
> I am finding that llvm 2.8 rc3 with dragonegg svn built against current
> gcc-4_5-branch doesn't appear to allow gfortran to use -ffast-math. Attempting
> to compile code using the dragonegg plugin under gcc 4.5.2 with that option produces the error...
>
> f951: Unknown command line argument '--enable-finite-only-fp-math'. Try: 'f951 -help'
>
2010 Oct 06
2
[LLVMdev] dragonegg vs -ffast-math?
I am finding that llvm 2.8 rc3 with dragonegg svn built against current
gcc-4_5-branch doesn't appear to allow gfortran to use -ffast-math. Attempting
to compile code using the dragonegg plugin under gcc 4.5.2 with that option produces the error...
f951: Unknown command line argument '--enable-finite-only-fp-math'. Try: 'f951 -help'
The standard gcc 4.5.2 gfortran compiler
2007 Dec 17
2
Fortran 90 and Windows
I have been revising some FORTRAN 77 routines in R packages I have
previously submitted. Since R is now using gfortan I experimented with
some Fortran 90 code (array intrinsics primarily). So far the code is
still in F77 fixed format, in files suffixed .f (not .f90), but
incorporates some F90 constructs. It has worked fine in linux/R. I
tried to follow the thread of previous discussions
2006 Aug 19
1
problem with Rcmd check and fortran95, makefile
Hi all,
I have Win XP and R 2.3.1 on my notebook. I would like to write a package which includes some Fortran 95 code. Interestingly, if I compile and link the simple file test90.f90 directly with
g95 -c test90.f90
g95 -shared -o test90.dll test90.o
then PE Viewer ( a dll viewer) shows me the right functions in the export table, hence I can use the dll in R. But as it should become part of a