PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

PG FORTRAN .dlls on Windows Server 2008 R2 SP1

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



Joined: 22 Aug 2013
Posts: 12

PostPosted: Tue Mar 25, 2014 5:48 am    Post subject: PG FORTRAN .dlls on Windows Server 2008 R2 SP1 Reply with quote

I am using Visual Studio 2013 on Windows 8.1 Pro 64 with the 64-bit version of PG FORTRAN Version 14.3. I have a solution that includes a number of FORTRAN .dll projects that executes fine on my Windows machine.

When I deploy to our production server, which runs Windows Server 2008 R2 SP1, the application reports "Unable to load DLL 'xxx.dll'. The specified module could not be found' Exception from HRESULT: 0x8007007E.

I've installed the Windows 8.1 SDK on the server and have copied the runtime .dlls from REDIST over with the solution.

Has anybody had similar problems with this configuration?
Back to top
View user's profile
Hank Brandenburg



Joined: 22 Aug 2013
Posts: 12

PostPosted: Tue Mar 25, 2014 6:48 am    Post subject: Update - tested simple console application Reply with quote

I wrote a 1-line console application and tested it on this server and am receiving similar errors. The application crashes on startup. I'm sure I'm missing some installation files.
Back to top
View user's profile
Hank Brandenburg



Joined: 22 Aug 2013
Posts: 12

PostPosted: Wed Mar 26, 2014 5:40 am    Post subject: Solved! Reply with quote

I was able to correct this problem by changing the "Target Processor" property from the default values to "Generic x86". The server in question has XEON processors.
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Apr 02, 2014 8:38 am    Post subject: Reply with quote

Hi Hank,

It's most likely a problem with AVX. Early Windows releases didn't support the instructions and would cause crashes. As you discovered, the solution is to target an older processer, though, you most likely could use "Penryn" instead of "Generic x86" which will disable many useful optimizations.

- Mat
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