Search found 31 matches

by ErinH
Sun Aug 26, 2018 7:32 pm
Forum: General Programming
Topic: Compiling MPI with PGI Fortran
Replies: 1
Views: 983

Compiling MPI with PGI Fortran

Yay!

I fixed it by adding the pgf90.dll and pgc14.dll to the link statement!

Thanks tho,
Erin
by ErinH
Sun Aug 26, 2018 7:22 pm
Forum: General Programming
Topic: Compiling MPI with PGI Fortran
Replies: 1
Views: 983

Compiling MPI with PGI Fortran

Hello!
I'm trying to compile a Fortran subroutine with MPI. This is what I have:

pgf90 -Mmpi=msmpi -c finit.f90 -o finit.obj
PGI$ pgf90 -Mmpi=msmpi -Mmakedll finit.obj -o finit.dll
LINK : fatal error LNK1104: cannot open file 'finit.dll'

How can I not open the dll, please?

Thanks,
Erin
by ErinH
Thu Aug 23, 2018 10:14 pm
Forum: Accelerator Programming
Topic: Compiling OpenACC and Fortran for R on Windows
Replies: 5
Views: 2290

Compiling OpenACC and Fortran for R on Windows

Hello again! I got things to compile, thanks to Mat. The dyn.load in R works. But now I'm getting: Accelerator Fatal Error: No CUDA device code available What am I doing wrong now? Here are the compile/link statements: pgf90 -acc -c test2.f90 -o test2.obj -Lc:/progra~1/PGICE/win64/18.4/lib/pgc14.dll...
by ErinH
Thu Aug 23, 2018 3:18 pm
Forum: Accelerator Programming
Topic: Compiling OpenACC and Fortran for R on Windows
Replies: 5
Views: 2290

Compiling OpenACC and Fortran for R on Windows

I added the statement that you suggested. Here are the results. pgf90 -acc -c test2.f90 -o test2.o PGI$ pgf90 -acc -Mmakedll test2.o -o test2.dll Creating library test2.lib and object test2.exp test2.o : error LNK2019: unresolved external symbol __pgi_uacc_enter referenced in function test2_ test2.o...
by ErinH
Thu Aug 23, 2018 3:04 pm
Forum: Accelerator Programming
Topic: Compiling OpenACC and Fortran for R on Windows
Replies: 5
Views: 2290

OpenACC with PG Compiler on Windows for R

My program will compile. But when I use "dyn.load('test2.dll')" in R, I get the "Not a Win32 application" error

Thanks,
Erin