Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#71 Unable to find usable compiler for ICC

open-later
None
5
2010-05-26
2010-05-13
Anonymous
No

Hello,
I'm trying to configure (and afterwards build) Atlas on Windows Server 2008 R2 (x64).
As I want to create a 64bit library, I cannot use cygwin. Therefore I downloaded mingw-w64 (with which I already successfully built x64-Libraries).
The configure script even creates some exes using gcc (which seem to run properly) - however, it stops with the error "Unable to find usable compiler for ICC". It creates the file "ATLwin_cl.exe" - which tries to call cl.exe (which is not there, for obvious reasons).

Thank you.
With kind regards
Alexander Müller

Why does it try to use the Microsoft Compiler? (I'm also wondering why it does not autodetect the configure parameters like OSTYPE.)

$ ../configure -b 64 -t 2 -O 8 -s 2 -V 2 -A 14 -m 2000
gcc -I/home/Administrator/atlas/build/..//CONFIG/include -g -w -c /home/Adminis
trator/atlas/build/..//CONFIG/src/atlconf_misc.c
gcc -I/home/Administrator/atlas/build/..//CONFIG/include -g -w -o xconfig /home
/Administrator/atlas/build/..//CONFIG/src/config.c atlconf_misc.o
./xconfig -d s /home/Administrator/atlas/build/../ -d b /home/Administrator/atla
s/build -b 64 -t 2 -O 8 -s 2 -V 2 -A 14 -m 2000
Parallel make not configured.
Cannot detect CPU throttling.
gcc -I/home/Administrator/atlas/build/..//CONFIG/include -g -w -c /home/Adminis
trator/atlas/build/..//CONFIG/src/probe_comp.c
gcc -I/home/Administrator/atlas/build/..//CONFIG/include -g -w -o xprobe_comp p
robe_comp.o atlconf_misc.o
rm -f config1.out
make atlas_run atldir=/home/Administrator/atlas/build exe=xprobe_comp args="-v 0
-o atlconf.txt -O 8 -A 14 -Si nof77 0 -b 64" \ redir=config1.out
make[1]: Entering directory `/home/Administrator/atlas/build'
cd /home/Administrator/atlas/build ; ./xprobe_comp -v 0 -o atlconf.txt -O 8 -A 1
4 -Si nof77 0 -b 64 > config1.out

Unable to find usable compiler for ICC; abortingMake sure compilers are in your
path, and specify good compilers to configure
(see INSTALL.txt or 'configure --help' for details)make[1]: *** [atlas_run] Erro
r 1
make[1]: Leaving directory `/home/Administrator/atlas/build'
make: *** [IRun_comp] Error 2
Assertion failed!

Program: D:\mingw64\msys\home\Administrator\atlas\build\xconfig.exe
File: D:/mingw64/msys/home/Administrator/atlas/build/..//CONFIG/src/config.c, Li
ne 125

Expression: !system(ln)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
xconfig exited with 3

Discussion


  • Anonymous
    2010-05-17

    Hello!
    I've further investigated the problem: it seems to have something to do with the calls to the function "system(char*)" - which is not executed within the cygwin/MSYS bash, but using the windows command prompt (For ,e.g., "./xspew" I get errors like command "." not found, but ".\xspew" and "xspew" works.).
    I also noticed that from within "SpewMakeInc.c", the file CompMake.txt is accessed via fopen - however, "/home/AM/ATLAS/CONFIG/src/CompMake.txt" is not found as the cygwin path is not known.

    Alexander Müller

     
    Last edit: Anonymous 2014-07-31
    • assigned_to: nobody --> rwhaley
    • status: open --> open-later
     
  • Yes, ATLAS is not currently supported (by me) for mingw. On windows, ATLAS currently requires cygwin, which indeed unnecessarily limits ATLAS to 32-bit mode on Windows. It is a bad situation, but Windows support is horrifically hard for me, and I cannot look at for at least 6 months to a year. You may be able to find some help on the forum I specifically started for Windows guys to help each other (and me!):
    https://sourceforge.net/projects/math-atlas/forums/forum/1026734

    My apologies,
    Clint

     
  • Moving this to feature request, since its mingw/64-bit Windows request.

     
    • milestone: 148063 -->
    • labels: 320139 -->