Opened 3 years ago

Closed 3 years ago

#2012 closed help (answered)

change compiler settings for files/directories in Rose

Reported by: luke Owned by: um_support
Component: Rose Keywords:
Cc: Platform: Other
UM Version: 10.5

Description

Hello,

I'd like to be able to play around with the compiler settings of individual directories or files in a vn10.5 Rose suite. Is this is a simple matter of, in a branch, editing the correct um-atmos-OPTIMISATION.cfg file in the correct fcm-make sub-directory, and then including this branch as a source, or is it more involved?

It's hard to tell when reading the job.out if the above works (I don't think it does). Do I need to do something like edit the app/fcm_make/file/fcm-make.cfg file?

Many thanks,
Luke

Change History (3)

comment:1 Changed 3 years ago by luke

  • Component changed from UM Model to Rose
  • Platform set to Other
  • UM Version changed from <select version> to 10.5

comment:2 Changed 3 years ago by ros

Hi Luke,

I think you can do either. Strangely enough I was going to try this out later in order to add a section to our practical exercises! If you create a branch and modify the *.cfg files then you need to enter this branch as the config_root_path and update the config_revision accordingly.

Alternatively, and possibly easier if you only have a few file compiler options to modify, you should be able to add them to the app/fcm_make/file/fcm-make.cfg file as you say.

Cheers,
Ros.

comment:3 Changed 3 years ago by ros

  • Resolution set to answered
  • Status changed from new to closed

Ticket being closed but confirming that both the above ways for modifying compiler settings work.

Note: See TracTickets for help on using tickets.