[Wrf-users] Segfaults with Intel 2017 Compiler

Thorsten Beisiegel tbeisiegel at unal.edu.co
Tue Jul 18 14:19:10 MDT 2017


Hello Kevin,

first of all I'd recommend you to put debug in 10000 so messages become
more explicit. Things I noticed that were new in the 2017 intel compiler
version are the headers in some include files where relative paths appear.
So I recommend to put the following lines directly in the configure.wrf:

- -I/opt/intel/compilers_and_libraries_2017.2.174/linux/ipp/include\
- -I/opt/intel/compilers_and_libraries_2017.2.174/linux/mkl/include\
- -I/opt/intel/compilers_and_libraries_2017.2.174/linux/tbb/include\
- -I/opt/intel/compilers_and_libraries_2017.2.174/linux/daal/include\
- -I/opt/intel/compilers_and_libraries_2017.2.174/linux/mpi/intel64/include\

- -I/opt/intel/compilers_and_libraries_2017.2.174/linux/compiler/include

In order to compile netcdf, I had to remove some FCFLAGS and CFLAGS for
optimization. Also netcdf-4.3.3.1 seems to work better than netcdf-4.4.0.
Hope some of these changes could solve your problem.

good luck,

Thorsten





2017-07-18 13:00 GMT-05:00 <wrf-users-request at ucar.edu>:

> Send Wrf-users mailing list submissions to
>         wrf-users at ucar.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mailman.ucar.edu/mailman/listinfo/wrf-users
> or, via email, send a message with subject or body 'help' to
>         wrf-users-request at ucar.edu
>
> You can reach the person managing the list at
>         wrf-users-owner at ucar.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wrf-users digest..."
>
>
> Today's Topics:
>
>    1. Segfaults with Intel 2017 Compiler (Tyle, Kevin R)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 17 Jul 2017 20:04:40 +0000
> From: "Tyle, Kevin R" <ktyle at albany.edu>
> Subject: [Wrf-users] Segfaults with Intel 2017 Compiler
> To: "wrf-users at ucar.edu" <wrf-users at ucar.edu>
> Message-ID:
>         <BN6PR04MB0885B1D556330582BE37BA9ED6A00 at BN6PR04MB0885.
> namprd04.prod.outlook.com>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> I've experienced segfaults in various WRF versions (3.7.1 and 3.9) that
> appear tied to executables built using the current (17.0.4) version of the
> Intel compilers.
>
> With debugging set at a value of 100 in namelist.input, I consistently see
> "CALL rrtmg_lw" as the last thing written to the rsl.error.0000 file prior
> to the segfault.
>
> Longwave schemes 4 (3.7.1 and 3.9) and 24 (3.9) have been tried with
> similar behavior.
>
> This is using openmpi (have tried the latest 1.10 and 2.1 releases).
> Stacksize is unlimited.
>
> Intel compiler version 14.0.1 does not show this problem, nor does the
> latest PGI 2017 community release.
>
> Any ideas or suggestions would be appreciated!
>
> --Kevin
>
> _____________________________________________
> Kevin Tyle, Manager of Departmental Computing
> Dept. of Atmospheric & Environmental Sciences
> University at Albany
> Earth Science 235, 1400 Washington Avenue
> Albany, NY 12222
> Email: ktyle at albany.edu<mailto:ktyle at albany.edu>
> Phone: 518-442-4578
> _____________________________________________
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.ucar.edu/pipermail/wrf-users/
> attachments/20170717/d95b3471/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
> End of Wrf-users Digest, Vol 155, Issue 2
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20170718/ca1e3f9a/attachment.html 


More information about the Wrf-users mailing list