Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • airGR airGR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Redmine
    • Redmine
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Bonjour, un projet de forge INRAE a été lancé. Il devrait à terme remplacer la forge gitlab.irstea.fr. Pour plus d'informations, vous pouvez suivre les actualités de ce projet sur https://forge-inrae.pages.mia.inra.fr/www/

  • HYCAR-HydroHYCAR-Hydro
  • airGRairGR
  • Issues
  • #15
Closed
Open
Issue created Nov 06, 2019 by Pelletier Antoine@antoine.pelletier

Warning during compilation - variable not initialised

The compiler throws a warning while updating the package.

My install is R 3.6.1 with x86_64-suse-linux-gnu platform (OpenSUSE Leap 15.1). I was installing airGR 1.3.2.42 from Lyon 1 CRAN repository. The compiler is GNU Fortran 7.4.1.

The message is the following :

gfortran -fno-optimize-sibling-calls  -fpic  -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection  -c frun_cemaneige.f -o frun_cemaneige.o

frun_cemaneige.f:115:0:

IF (G.LT.Glocalmax.AND.Gratio.EQ.1.) Glocalmax=G !Update in case of potential melt and G lower than Gseuil
 
Warning: ‘glocalmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]

As far as I can understand the source code in frun_cemaneige.f, this is unlikely to create a bug, as glocalmax is initialised and used only when IsHystBool is set to TRUE.

Assignee
Assign to
Time tracking