Re: [JLSE-Intel-NDA] [EarlyScience] Production Intel compiler segfaults
Just submit the bug against full GFMC. I can transfer the files to them so you don’t have to attach to the ticket. Just tell them to contain me after you tell me where I can get the files from an ALCF system. Jeff On 10/5/16, 1:04 PM, "Steven C. Pieper" <[email protected]> wrote:
Jeff and/or Kalyan:
I have isolated the wrong numerical result to one (large) subroutine. It is not the same one that causes the compiler to segfault; that subroutine is not involved in this wrong numerical result. I can compile everything with the production v17 using -O2 and openmp (I haven't tried more optimization yet). Then if I compile this one subroutine with -O0 and no openmp, it works. But if I compile it with -O2 and no openmp, it gives the wrong numbers. So this is not an OpenMP bug; it is a -O2 optimization error. This is a bit of a mess to make a demo for -- the subroutine is large and has a big table of input indices, etc., and it needs lots of other subroutines to have run before it is called.
As I said, all of this works fine with -O3, AVX512 with the v17-beta compiler.
I don't know what to do next. I can make an ugly package to give to you for Intel, but making a simple demo is probably too difficult. Is there any further update to the production v17 that could be installed for me to try?
Steve
Steven C. Pieper, Senior Physicist Emeritus: [email protected] Argonne National Laboratory, Physics Division, Bldg. 203, Argonne, IL 60439 Phone: 630-252-4232 Fax -6008 Secretary, Debra Beres, -4100 http://www.phy.anl.gov/theory/staff/scp.html
On 10/05/16 13:40, Hammond, Jeff R wrote:
On 10/5/16, 11:04 AM, "[email protected] on behalf of Kumaran, Kalyan" <[email protected] on behalf of [email protected]> wrote:
Steve, are you saying the Beta compilers have been removed, or will be removed in 2 days, from the JLSE cluster? If this is the case I can request Ben to keep it though I have not see any message about removing it. I asked Martyn about this just now. Will post the substance of his response as soon as I get it.
Please do report bugs on the GA compilers. Without these I fear it will never get fixed. Please report every bug to IPS. It¹s possible that the same bug will be identified by a different codes, but it is not good to rely upon this.
Jeff
-Kumar
On Oct 5, 2016, at 12:51 PM, Steven C. Pieper <[email protected]> wrote:
Tim, I didn't know where to send it. I just want it to be worked on. The non-beta V17 compiler is on jlse -- that is what is failing for me.
Some more recent info: Only this one subroutine file causes the compiler to segfault.
However much more seriously, I am getting the wrong numerical results using the non-beta compiler. They are wrong in that they differ from both the v17 beta and xlf on cetus. v17 beta and cetus give the same results. I'm trying now to narrow down where the wrong results are coming from.
Can we keep the beta compiler going for more than 2 more days????
Steve
Steven C. Pieper, Senior Physicist Emeritus: [email protected] Argonne National Laboratory, Physics Division, Bldg. 203, Argonne, IL 60439 Phone: 630-252-4232 Fax -6008 Secretary, Debra Beres, -4100 http://www.phy.anl.gov/theory/staff/scp.html
On 10/05/16 12:45, Williams, Timothy J. wrote:
Hi Steve,
Did you mean to send this to early-users-discuss or intel-nda?
I think we should now have the non-beta V17 compilers on the white boxes. Will try to find out.
Tim
------- Timothy J. Williams, Ph.D. --- Argonne Leadership Computing Facility --- [email protected] --- 630-252-1154 -------
On Oct 5, 2016, at 11:25 AM, Steven C. Pieper <[email protected]> wrote:
I am trying to recompile everything using the production intel compiler rather than the beta version which I previously used.
With the beta version, it works:
[jlselogin2 mc] source
/soft/compilers/intel_beta/compilers_and_libraries/linux/bin/compiler va rs.sh intel64 [jlselogin2 mc] ifort -V Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.0.042 Beta Build 20160315 Copyright (C) 1985-2016 Intel Corporation. All rights reserved.
ifort: NOTE: The Beta evaluation period for this product ends on 7-oct-2016 UTC.
[jlselogin2 mc] ifort -FR -g -O2 -xMIC-AVX512 -qopenmp -lpthread -mcmodel=medium -r8 -WB -traceback -fpe3 -I../common/ -I../mc/ -fpp -DSPIN_SUF= -DPARAMNUC=nclude/paramnuc.12c-11_states-pn -DM0_DIV=1 -DDOCASE=0 -DPARAMCASE=nclude/paramcase.12c-11_states-pn -c make_3pi.f [jlselogin2 mc] <<compile is OK>
The production verson segfaults:
[jlselogin2 mc] source
/soft/compilers/intel/compilers_and_libraries/linux/bin/compilervars. sh intel64[jlselogin2 mc] ifort -V Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.0.098 Build 20160721 Copyright (C) 1985-2016 Intel Corporation. All rights reserved.
[jlselogin2 mc] ifort -FR -g -O2 -xMIC-AVX512 -qopenmp -lpthread -mcmodel=medium -r8 -WB -traceback -fpe3 -I../common/ -I../mc/ -fpp -DSPIN_SUF= -DPARAMNUC=nclude/paramnuc.12c-11_states-pn -DM0_DIV=1 -DDOCASE=0 -DPARAMCASE=nclude/paramcase.12c-11_states-pn -c make_3pi.f catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error. compilation aborted for make_3pi.f (code 1)
If I remove the -xMIC-AVX512 then the production version compiles without error.
Lots of other subroutines are compiling OK.
The files are all in ~b21541/gfmc/mc/
I see the beta version is due to expire in 2 days. Can this be extended?
Steve
-- Steven C. Pieper, Senior Physicist Emeritus: [email protected] Argonne National Laboratory, Physics Division, Bldg. 203, Argonne, IL 60439 Phone: 630-252-4232 Fax -6008 Secretary, Debra Beres, -4100 http://www.phy.anl.gov/theory/staff/scp.html
_______________________________________________ EarlyScience mailing list [email protected] https://lists.alcf.anl.gov/mailman/listinfo/earlyscience
Intel-nda mailing list [email protected] https://lists.jlse.anl.gov/mailman/listinfo/intel-nda
Intel-nda mailing list [email protected] https://lists.jlse.anl.gov/mailman/listinfo/intel-nda
participants (1)
-
Hammond, Jeff R