Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation of modified files

Compilation of modified files 10 years 4 months ago #13737

  • Penic
  • Penic's Avatar
Hello,

I'd like to change something in FONSTR.f to improve it. Should I compile all fortran files or is it possible to compile each file independently?

BP
The administrator has disabled public write access.

Compilation of modified files 10 years 4 months ago #13747

  • Lux
  • Lux's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 39
Hello Penic,
The easiest method is to copy the fortran source file in your current simulation folder and then modify it. And in the CAS file, you just need to include the keyword FORTRAN FILE (it is similar to the cli or slf file for instance). It will not overwrite the binaries from your installation/compilation folder, but will just substitute the subroutine modified for the current simuation. Moreover this file can contain several subroutines, if you need to modify more than one file.

It should be possible to modify the source file directly and compile only the modified files, but it is not recommanded (except you are an expert and want your modifications to be applied to all your simulations).

Hope it helps
Luc
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.