[ADOL-C] Generate and execute 32-bit code on a 64-bit platform?

Verhoeven, Ronald Ronald.Verhoeven at nlr.nl
Wed Jun 6 04:22:46 EDT 2012


Ok, thanks for the advice.

Regards, Ronald.

-----Original Message-----
From: adol-c-bounces at list.coin-or.org [mailto:adol-c-bounces at list.coin-or.org] On Behalf Of Kshitij Kulshreshtha
Sent: woensdag 6 juni 2012 10:02
To: adol-c at list.coin-or.org
Subject: Re: [ADOL-C] Generate and execute 32-bit code on a 64-bit platform?



As on 2012-06-06 09:52, Verhoeven, Ronald did write:
> Dear all,
> 
>  
> 
> I am using ADOL-C on a windows 7 (64-bit) platform in combination with 
> vs2010. The target platform for the exe is set on ‘win32’. When I run 
> the exe, I got the following ADOLC-C error:
> 
>  
> 
> ‘Trace was created on a 32-bit platform, cannot be opened on 64-bit 
> platform!’
> 
>  
> 
> Does this mean that when I am working on a 64-bit platform, I have to 
> set my target platform in vs2010 on ‘x64’ to solve this problem? In 
> other words, do I have to generate 64-bit code on a 64-bit platform 
> when ADOL-C is used?
> 

Hello,

you are correct the target should be x64. The program that creates the trace and the one that reads it should have the same target. I am not sure how vs2010 interprets its targets. It is best to use the native wordsize of the operating system.

--
Dr. Kshitij Kulshreshtha

Institut für Mathematik,
Universität Paderborn,
Warburger Straße 100,
33098 Paderborn.

Büro: A3.235

Privatanschrift:
Arnikaweg 62
33100 Paderborn.


_______________________________________________
ADOL-C mailing list
ADOL-C at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/adol-c




******************************************************************************************************************

The NLR disclaimer is valid for NLR e-mail messages.

This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual
or legal commitment on the part of the sender.
This message may contain information that is not intended for you. If you are not the addressee or if this
message was sent to you by mistake, you are requested to inform the sender and delete the message.
Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic
transmission of messages.
 
******************************************************************************************************************



More information about the ADOL-C mailing list