When running ROMS_Agrif ocean model..

When running ROMS_Agrif ocean model..

My OS : Scientific Linux 6.3

After the job compiled, and built,

When running $>./roms roms.in

....

....

....

forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image              PC                Routine            Line        Source             
roms               00000000004E91B9  Unknown               Unknown  Unknown
roms               00000000004D0A7D  Unknown               Unknown  Unknown
roms               0000000000404F44  Unknown               Unknown  Unknown
roms               0000000000403D3C  Unknown               Unknown  Unknown
libc.so.6          0000003346A1ECDD  Unknown               Unknown  Unknown
roms               0000000000403C39  Unknown               Unknown  Unknown

Any advice?

Thanks a lot

2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

A segmentation fault could be caused a number of different things.

If the program has large arrays, try compiling with the option -heap-arrays. This will store arrays in heap memory rather than on the stack which is limited to 2 GB.

I would also suggest, turning on runtime checking with -check all to isolate the issue. This will slow down your program considerably though, so do not leave it on in release mode.

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui