Are Win32 Intel Fortran Samples Open Source?

Do you know if they are shared somewhere?

I’m not interested in the Intel Fortran compiler but mainly to draw inspiration to port some of them to mingw64 (gcortran and winapi)

Hi and welcome @vvanag .

The old samples, from the “parallel-studio” days, can be found at Old and Unsupported Windows SAMPLES from Intel(R) Parallel Studio XE - Intel Community .

You can ask there about their redistribution status/license.

Thank you very much

They are not open source - they all have Intel copyright statements. Annoyingly, when I was updating them and, as part of the process of checking them into the product sources, I was required to run a scan to see if there was a match to already published code. Several of the existing samples had been copied by someone else and published with their own copyright notice, causing the check to fail. I had some detailed discussion with Intel’s lawyers about this.

Unfortunately, the link in the copyright notice for the Intel Sample Code License Agreement now redirects to a generic page. Here’s what the header of a typical file says:

!==============================================================
!
! SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE
! LICENSE AGREEMENT,
! ``http://software.intel.com/en-us/articles/intel-sample-source-
! code-license-agreement/
!
! Copyright 2016 Intel Corporation
!
! THIS FILE IS PROVIDED “AS IS” WITH NO WARRANTIES, EXPRESS OR
! IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTY OF
! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-
! INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS.
!
! =============================================================

I do see that newer Intel oneAPI software samples are published under the MIT License.

This is unfortunate. OK, I will try to see what I can do from public sources.