[TRNSYS-users] Intel Fortran Compiler and Visual Studio

David BRADLEY d.bradley at tess-inc.com
Tue Jan 11 08:33:27 PST 2022


Gokula ,

  The mod files are recreated when you recompile the TRNDll so any 
version of the the Intel compiler can be used to recompile the TRNDll. 
The problem comes if you are trying to compile an add-on (such as the 
MyType project) using a different version of the compiler than the one 
that was used to create the TRNDll.

kind regards,

  David

On 01/09/2022 08:15, SENTHIL KUMAR, gokula [Student] via TRNSYS-users wrote:
> Dear David,
>
> In the last email, you informed that *.mod files are compiler version 
> dependent. So, could you please tell which version of the Intel 
> Fortran compiler is suitable for rebuilding the TRNDLL.DLL?
>
> Thanking you
> Gokula
>
> ------------------------------------------------------------------------
> *From:* TRNSYS-users <trnsys-users-bounces at lists.onebuilding.org> on 
> behalf of David BRADLEY via TRNSYS-users 
> <trnsys-users at lists.onebuilding.org>
> *Sent:* Wednesday, January 5, 2022 3:11 AM
> *To:* philippe at enbutinantlenergie.fr <philippe at enbutinantlenergie.fr>; 
> TRNSYS users mailing list at OneBuilding.org 
> <trnsys-users at lists.onebuilding.org>
> *Cc:* David BRADLEY <d.bradley at tess-inc.com>
> *Subject:* Re: [TRNSYS-users] Intel Fortran Compiler and Visual Studio
>
> Philippe,
>
>  You will probably need to recompile the TRNDll project. Compiling the 
> TRNDll creates a few *.mod files that are referenced by the MyType 
> project. Those files are compiler version dependent.
>
> kind regards,
>
>  David
>
>
> On 01/04/2022 10:34, Philippe Papillon via TRNSYS-users wrote:
>>
>> Dear TRNSYS users,
>>
>> As Intel Fortran is now released for free 
>> (https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#fortran 
>> <https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#fortran>), 
>> I have downloaded and installed the last version (2022.0.0), and I 
>> run Ifort () in Visual Studio 2019 environment.
>>
>> I am using TRNSYS18 (32 bits), and I want to create a new component. 
>> I used the fortran template generated by SimulationStudio, then I 
>> used the MyType.vfproj template (located in 
>> TRNSYS18\Compilers\IvfCXE2011\MyType), added the source file.
>>
>> But I didn’t succeed in compiling the project, since I have the 
>> following error.
>>
>> Gravité
>>
>> 	
>>
>> Code
>>
>> 	
>>
>> Description
>>
>> 	
>>
>> Projet
>>
>> 	
>>
>> Fichier
>>
>> 	
>>
>> Ligne
>>
>> 	
>>
>> État de la suppression
>>
>> Erreur
>>
>> 	
>>
>> 	
>>
>> error #7002: Error in opening the compiled module file. Check INCLUDE 
>> paths. [TRNSYSCONSTANTS]
>>
>> 	
>>
>> 	
>>
>> C:\TRNSYS18\MyTypes\Type5833-CapteurISO9806\Type5833.f90
>>
>> 	
>>
>> 62
>>
>> 	
>>
>> I search for a long time (especially in the include directories 
>> parameter of the project) but I didn’t find any solution up to now … 
>> Does anybody experienced such a problem, and found a solution, or can 
>> provide a new project template
>>
>> Sunny regards
>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
>> 	Garanti sans virus. www.avast.com 
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
>>
>>
>>
>> _______________________________________________
>> TRNSYS-users mailing list
>> TRNSYS-users at lists.onebuilding.org  <mailto:TRNSYS-users at lists.onebuilding.org>
>> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org  <http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org>
> -- 
> ***************************
> David BRADLEY
> Principal
> Thermal Energy System Specialists, LLC
> 3 North Pinckney Street - suite 202
> Madison, WI  53703 USA
>
> P:+1.608.274.2577
> d.bradley at tess-inc.com  <mailto:d.bradley at tess-inc.com>
>
> http://www.tess-inc.com  <http://www.tess-inc.com>
> http://www.trnsys.com  <http://www.trnsys.com>
>
>
> /Disclaimer:/
>
> /This message (including any attachments) contains confidential 
> information intended for a specific individual and purpose. If you are 
> not the intended recipient, you should delete this message and notify 
> the sender and The Hong Kong Polytechnic University (the University) 
> immediately. Any disclosure, copying, or distribution of this message, 
> or the taking of any action based on it, is strictly prohibited and 
> may be unlawful./
>
> /The University specifically denies any responsibility for the 
> accuracy or quality of information obtained through University E-mail 
> Facilities. Any views and opinions expressed are only those of the 
> author(s) and do not necessarily represent those of the University and 
> the University accepts no liability whatsoever for any losses or 
> damages incurred or caused to any party as a result of the use of such 
> information./
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
David BRADLEY
Principal
Thermal Energy System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220111/e192c2dd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 20377 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220111/e192c2dd/attachment-0002.jpg>


More information about the TRNSYS-users mailing list