[TRNSYS-users] Change Max number of Outputs

David Bradley bradley at tess-inc.com
Thu Jul 26 13:12:10 PDT 2007


Julien,
   Compaq released an update "b" that fixed a few 
problems in the compiler and I think that the 
COMIS files were compiled with the 6.6b version. 
The COMIS *.obj files are used by Type56 whether 
or not you have TRNFlow installed.
Cheers,
  David


At 11:56 7/26/2007, Julien L'Hoest wrote:
>David,
>I'm using CVF professional 6.6.0, do you reckon 
>this version is too old or something ?
>Or do you think I could compile The Trndll 
>whithout considering the precompiled objects ? I 
>don't see why all these COMIS objects are 
>included in the Trndll, is it related to Trnflow ?
>
>Thanks a lot for your help.
>
>Julien.
>
>
>David Bradley a écrit :
>>Julien,
>>   Does the linking error go away if you set 
>> the value of nMaxOutputs back to what it was 
>> before you changed it? I don't think that the 
>> two are related because an "unresolved 
>> external" error means that some subroutine or 
>> function could not be found when trying to 
>> compile and link. I think it may be more 
>> likely that you are using CVF 6.6a while the 
>> COMIS code was compiled with CVF 6.6b (or 
>> something like that). Object code (already 
>> compiled source code) is compiler and version 
>> dependent. Can you please check which version 
>> of CVF you are using and tell me what it is?
>>Cheers,
>>  David
>>
>>
>>At 09:26 7/25/2007, Julien L'Hoest wrote:
>>>Hello,
>>>I got the following error:
>>>
>>>Error    0.000    0    0    TRNSYS Message      4 : The total number of
>>>OUTPUTS in your simulation exceeds the maximum possible number of TRNSYS
>>>outputs. You can either decrease the number of OUTPUTS in your
>>>simulation or you may increase the maximum number of OUTPUTS that TRNSYS
>>>will accept by modifying that parameter nMaxOutputs in the file
>>>TrnsysConstants.f90. You will need to recompile and relink the trndll.dll
>>>
>>>Reported information  : Error 4
>>>
>>>So I changed the 'nMaxOutputs' value in the "TrnsysConstants" module but
>>>when I tried to link the Trndll files I got the following errors :
>>>
>>>--------------------Configuration: TRNDll - Win32 Debug--------------------
>>>Linking...
>>>    Creating library Debug/TRNDll.lib and object Debug/TRNDll.exp
>>>Comv-tm4.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
>>>Comv-tm7.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
>>>Comv-che.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
>>>Comv-deb.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
>>>Comv-tm1.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
>>>Comv-tm2.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
>>>Comv-inh.obj : error LNK2001: unresolved external symbol _for_write_dir_i8
>>>Comv-tm1.obj : error LNK2001: unresolved external symbol _for_write_dir_i8
>>>Comv-tm4.obj : error LNK2001: unresolved external symbol _for_write_dir_i8
>>>Comv-tm7.obj : error LNK2001: unresolved external symbol _for_write_dir_i8
>>>Debug/TRNDll.dll : fatal error LNK1120: 2 unresolved externals
>>>Error executing link.exe.
>>>
>>>TRNDll.dll - 11 error(s), 0 warning(s)
>>>
>>>
>>>Please has anybody had the same problem and know how to get rid of it ?
>>>I use Cvf 6.6.
>>>Thank you very much.
>>>
>>>Julien L'Hoest.
>>>
>>>
>>>_______________________________________________
>>>TRNSYS-users mailing list
>>>TRNSYS-users at engr.wisc.edu
>>>https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
>>
>>**************************************************************************************** 
>>
>>Thermal Energy System Specialists (TESS), LLC
>>David BRADLEY                           2916 Marketplace Drive - Suite 104
>>Partner                                        Madison, WI 53719
>>Phone: (608) 274-2577 USA
>>Fax: (608) 278-1475
>>E-mail: bradley at tess-inc.com
>>Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com
>>
>>"Providing software solutions for today's energy engineering projects"
>>**************************************************************************************** 
>>
>>
>>
>
>

****************************************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY                           2916 Marketplace Drive - Suite 104
Partner                                        Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley at tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************






More information about the TRNSYS-users mailing list