Opened 8 years ago

Closed 7 years ago

#849 closed help (fixed)

Adding files in FCM

Reported by: oma Owned by: ros
Component: FCM Keywords: FCM add file
Cc: Platform:
UM Version: 7.3

Description (last modified by ros)

Hello,

Hopefully a very simple question. I'm adding a new file with a subroutine to my branch but the compiler doesn't seem to notice it, so that it's not compiled. I already run the 'fcm add' command so that running the 'fcm status' command yields

oma@puma:/home/oma/um_fcm/VN7.3_radheat> fcm status 
=> svn status
A      src/control/top_level/sat_eq_pot_temp.F90
M      src/control/top_level/atm_step.F90

Do I need to modify anything in PUMA or elsewhere so that the new subroutine is compiled and linked?

My username is OMA, my branch is VN7.3_radheat (you can see that above). The UMUI job that I'm using is xgoey. I haven't commited my changes yet. I'm just using my working copy to compile.

Thanks,

Oscar

Change History (2)

comment:1 Changed 8 years ago by ros

  • Description modified (diff)

Hi Oscar,

In atm_step.F90 you need to put a comment line ! DEPENDS ON: sat_eq_pot_temp above the CALL statement to ensure the dependency on your new file is registered.

! DEPENDS ON: sat_eq_pot_temp
        call sat_eq_pot_temp(    row_length,rows                        &

As a rule every call statement should be preceded by a ! DEPENDS ON: line

Cheers,
Ros.

comment:2 Changed 7 years ago by ros

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.