PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

WRFV3 on Windows

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
xavierP



Joined: 04 Oct 2013
Posts: 2

PostPosted: Mon Oct 07, 2013 12:18 am    Post subject: WRFV3 on Windows Reply with quote

I'm trying to compile WRF 3.2 on Windows and I'm facing an error when compiling with PGI Workstation 13.9

make[3]: Entering directory `/c/Data/WRF/WRFV3/external/RSL_LITE'
pgcc -Mmpi=msmpi -DMPI2_SUPPORT -w -O3 -DMEMCPY_FOR_BCOPY -DLANDREAD_STUB -D_WIN32 -D_WIN64 -DDM_PARALLEL -DMAX_HISTORY=25 -c rsl_malloc.c
NOTE: your trial license will expire in 11 days, 14.9 hours.
PGC-F-0249-#error -- Unsupported target platform. (C:/Program Files/PGI/Microsoft Open Tools 11/include\malloc.h: 193)
PGC/x86-64 Windows 13.9-0: compilation aborted
make[3]: [rsl_malloc.o] Error 2 (ignored)

I've tried to define _WIN32 and _WIN64 but this doesn't changed this issue.
There is already a post on the same error for GAMESS http://www.pgroup.com/userforum/viewtopic.php?t=3799&highlight=unsupported+target+platform but I wonder to know if I can apply the same trick.

Thank you,
Xavier
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6128
Location: The Portland Group Inc.

PostPosted: Mon Oct 07, 2013 8:56 am    Post subject: Reply with quote

Hi Xavier,

You should be able to just remove or put a preprocessor guard around the references to "malloc.h".

- Mat
Back to top
View user's profile
xavierP



Joined: 04 Oct 2013
Posts: 2

PostPosted: Mon Oct 07, 2013 2:09 pm    Post subject: Reply with quote

Thank you Mat, I've put a preprocessor around the malloc.h.

Xavier
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group