mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software > Mlucas

Reply
 
Thread Tools
Old 2016-02-05, 19:08   #12
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

52·373 Posts
Default

Quote:
Originally Posted by alexvong1995 View Post
Hi people, could you try appending --enable-verbose-compiler and --disable-silent-rule when running configure and paste the output? (I don't want to give away my phone number to register...)
Sure. But you can always use a "burner phone" in such cases. I know guys who have a half dozen or so for just such instances...

But here are the results of what you asked for:

Code:
linux1@i4l-2 build]$ ../configure --enable-verbose-compiler --disable-silent-rule
configure: WARNING: unrecognized options: --disable-silent-rule
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for library containing ceil, log, pow, sqrt, sincos, floor, lrint, atan... -lm
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking for uint64_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for clock_gettime... no
checking for gethrtime... no
checking for gettimeofday... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strerror... yes
checking for strstr... yes
checking for strtoul... yes
checking whether _LARGEFILE_SOURCE is declared... no
checking build system type... s390x-ibm-linux-gnu
checking host system type... s390x-ibm-linux-gnu
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-silent-rule

[linux1@i4l-2 build]$ make
make  all-am
make[1]: Entering directory `/home/linux1/mlucas/mlucas-14.1/build'
  CC       $NORMAL_O $THREADS_O
In file included from ../src/types.h:30,
                 from ../src/align.h:29,
                 from ../src/Mlucas.h:29,
                 from ../src/br.c:23:
../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds!
In file included from ../src/types.h:30,
                 from ../src/Mdata.h:30,
                 from ../src/dft_macro.c:24:
../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds!
In file included from ../src/types.h:30,
                 from ../src/util.h:30,
                 from ../src/factor.h:29,
                 from ../src/factor.c:27:
../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds!
In file included from ../src/types.h:30,
                 from ../src/align.h:29,
                 from ../src/Mlucas.h:29,
                 from ../src/fermat_mod_square.c:23:



...




In file included from ../src/types.h:30,
                 from ../src/util.h:30,
                 from ../src/factor.h:29,
                 from ../src/twopmodq80.c:23:
../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds!
../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE’:
../src/twopmodq80.c:342: warning: right shift count >= width of type
../src/twopmodq80.c:342: warning: left shift count is negative
../src/twopmodq80.c:342: warning: right shift count >= width of type
../src/twopmodq80.c:342: warning: left shift count is negative
../src/twopmodq80.c:342: warning: right shift count >= width of type
../src/twopmodq80.c:342: warning: right shift count is negative
../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q2’:
../src/twopmodq80.c:811: warning: right shift count >= width of type
../src/twopmodq80.c:811: warning: left shift count is negative
../src/twopmodq80.c:811: warning: right shift count >= width of type
../src/twopmodq80.c:811: warning: left shift count is negative
../src/twopmodq80.c:811: warning: right shift count >= width of type
../src/twopmodq80.c:811: warning: right shift count is negative
../src/twopmodq80.c:812: warning: right shift count >= width of type
../src/twopmodq80.c:812: warning: left shift count is negative
../src/twopmodq80.c:812: warning: right shift count >= width of type
../src/twopmodq80.c:812: warning: left shift count is negative
../src/twopmodq80.c:812: warning: right shift count >= width of type
../src/twopmodq80.c:812: warning: right shift count is negative
../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q4’:
../src/twopmodq80.c:2210: warning: right shift count >= width of type
../src/twopmodq80.c:2210: warning: left shift count is negative
../src/twopmodq80.c:2210: warning: right shift count >= width of type
../src/twopmodq80.c:2210: warning: left shift count is negative
../src/twopmodq80.c:2210: warning: right shift count >= width of type
../src/twopmodq80.c:2210: warning: right shift count is negative
../src/twopmodq80.c:2211: warning: right shift count >= width of type
../src/twopmodq80.c:2211: warning: left shift count is negative
../src/twopmodq80.c:2211: warning: right shift count >= width of type
../src/twopmodq80.c:2211: warning: left shift count is negative
../src/twopmodq80.c:2211: warning: right shift count >= width of type
../src/twopmodq80.c:2211: warning: right shift count is negative
../src/twopmodq80.c:2212: warning: right shift count >= width of type
../src/twopmodq80.c:2212: warning: left shift count is negative
../src/twopmodq80.c:2212: warning: right shift count >= width of type
../src/twopmodq80.c:2212: warning: left shift count is negative
../src/twopmodq80.c:2212: warning: right shift count >= width of type
../src/twopmodq80.c:2212: warning: right shift count is negative
../src/twopmodq80.c:2213: warning: right shift count >= width of type
../src/twopmodq80.c:2213: warning: left shift count is negative
../src/twopmodq80.c:2213: warning: right shift count >= width of type
../src/twopmodq80.c:2213: warning: left shift count is negative
../src/twopmodq80.c:2213: warning: right shift count >= width of type
../src/twopmodq80.c:2213: warning: right shift count is negative
../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q4_REF’:
../src/twopmodq80.c:2954: warning: right shift count >= width of type
../src/twopmodq80.c:2954: warning: left shift count is negative
../src/twopmodq80.c:2954: warning: right shift count >= width of type
../src/twopmodq80.c:2954: warning: left shift count is negative
../src/twopmodq80.c:2954: warning: right shift count >= width of type
../src/twopmodq80.c:2954: warning: right shift count is negative
../src/twopmodq80.c:2955: warning: right shift count >= width of type
../src/twopmodq80.c:2955: warning: left shift count is negative
../src/twopmodq80.c:2955: warning: right shift count >= width of type
../src/twopmodq80.c:2955: warning: left shift count is negative
../src/twopmodq80.c:2955: warning: right shift count >= width of type
../src/twopmodq80.c:2955: warning: right shift count is negative
../src/twopmodq80.c:2956: warning: right shift count >= width of type
../src/twopmodq80.c:2956: warning: left shift count is negative
../src/twopmodq80.c:2956: warning: right shift count >= width of type
../src/twopmodq80.c:2956: warning: left shift count is negative
../src/twopmodq80.c:2956: warning: right shift count >= width of type
../src/twopmodq80.c:2956: warning: right shift count is negative
../src/twopmodq80.c:2957: warning: right shift count >= width of type
../src/twopmodq80.c:2957: warning: left shift count is negative
../src/twopmodq80.c:2957: warning: right shift count >= width of type
../src/twopmodq80.c:2957: warning: left shift count is negative
../src/twopmodq80.c:2957: warning: right shift count >= width of type
../src/twopmodq80.c:2957: warning: right shift count is negative
In file included from ../src/types.h:30,
                 from ../src/util.h:30,
                 from ../src/factor.h:29,
                 from ../src/twopmodq96.c:23:
../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds!
In file included from ../src/types.h:30,
                 from ../src/util.h:30,
                 from ../src/factor.h:29,
                 from ../src/twopmodq.c:23:
../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds!
In file included from ../src/types.h:30,
                 from ../src/types.c:23:
../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds!
In file included from ../src/types.h:30,
                 from ../src/threadpool.h:69,
                 from ../src/threadpool.c:65:
../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds!
../src/threadpool.c:265: warning: ‘force_align_arg_pointer’ attribute directive ignored
../src/threadpool.c: In function ‘worker_thr_routine’:
../src/threadpool.c:312: error: ‘__NR_gettid’ undeclared (first use in this function)
../src/threadpool.c:312: error: (Each undeclared identifier is reported only once
../src/threadpool.c:312: error: for each function it appears in.)
make[1]: *** [NORMAL_O-THREADS_O.stamp] Error 1
make[1]: Leaving directory `/home/linux1/mlucas/mlucas-14.1/build'
make: *** [all] Error 2
chalsall is offline   Reply With Quote
Old 2016-02-05, 20:03   #13
alexvong1995
 
Dec 2014

1001012 Posts
Default

Code:
configure: WARNING: unrecognized options: --disable-silent-rule
Oh I forget a "s".
Code:
../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds!
Judging from this line, maybe we should try to build without multithread. Maybe we can try ./configure --enable-verbose-compiler --disable-threads and see what happens.
By the way, --help should show all options of configure. (only the Custom Options part is useful)
alexvong1995 is offline   Reply With Quote
Old 2016-02-05, 20:26   #14
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

246D16 Posts
Default

Quote:
Originally Posted by alexvong1995 View Post
Maybe we can try ./configure --enable-verbose-compiler --disable-threads and see what happens.
This is the last help I'm going to provide on this matter.

Create your own account to debug further on the IBM 390 mainframe....

Code:
[linux1@i4l-2 build]$ ../configure --enable-verbose-compiler --disable-threads
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for library containing ceil, log, pow, sqrt, sincos, floor, lrint, atan... -lm
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking for uint64_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for clock_gettime... no
checking for gethrtime... no
checking for gettimeofday... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strerror... yes
checking for strstr... yes
checking for strtoul... yes
checking whether _LARGEFILE_SOURCE is declared... no
checking build system type... s390x-ibm-linux-gnu
checking host system type... s390x-ibm-linux-gnu
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

[linux1@i4l-2 build]$ make
make  all-am
make[1]: Entering directory `/home/linux1/mlucas/mlucas-14.1/build'
  CC       $NORMAL_O
../src/get_fft_radices.c: In function ‘get_fft_radices’:
../src/get_fft_radices.c:1446: error: duplicate case value
../src/get_fft_radices.c:1443: error: previously used here
../src/Mlucas.c: In function ‘ernstMain’:
../src/Mlucas.c:1170: warning: cast from pointer to integer of different size
In file included from ../src/radix1024_ditN_cy_dif1.c:1324:
../src/radix1024_main_carry_loop.h: In function ‘radix1024_ditN_cy_dif1’:
../src/radix1024_main_carry_loop.h:137: warning: assignment discards qualifiers from pointer target type
In file included from ../src/radix1024_ditN_cy_dif1.c:1324:
../src/radix1024_main_carry_loop.h:529: warning: assignment discards qualifiers from pointer target type
In file included from ../src/radix128_ditN_cy_dif1.c:1443:
../src/radix128_main_carry_loop.h: In function ‘radix128_ditN_cy_dif1’:
../src/radix128_main_carry_loop.h:325: warning: assignment discards qualifiers from pointer target type
../src/radix128_main_carry_loop.h:868: warning: assignment discards qualifiers from pointer target type
In file included from ../src/radix144_ditN_cy_dif1.c:1044:
../src/radix144_main_carry_loop.h: In function ‘radix144_ditN_cy_dif1’:
../src/radix144_main_carry_loop.h:194: warning: assignment discards qualifiers from pointer target type
../src/radix144_main_carry_loop.h:503: warning: assignment discards qualifiers from pointer target type
../src/radix144_ditN_cy_dif1.c: In function ‘radix144_dif_pass1’:
../src/radix144_ditN_cy_dif1.c:1348: warning: assignment discards qualifiers from pointer target type
../src/radix144_ditN_cy_dif1.c: In function ‘radix144_dit_pass1’:
../src/radix144_ditN_cy_dif1.c:1609: warning: assignment discards qualifiers from pointer target type
In file included from ../src/radix208_ditN_cy_dif1.c:1049:
../src/radix208_main_carry_loop.h: In function ‘radix208_ditN_cy_dif1’:
../src/radix208_main_carry_loop.h:144: warning: assignment discards qualifiers from pointer target type
../src/radix208_main_carry_loop.h:401: warning: assignment discards qualifiers from pointer target type
../src/radix208_ditN_cy_dif1.c: In function ‘radix208_dif_pass1’:
../src/radix208_ditN_cy_dif1.c:1322: warning: assignment discards qualifiers from pointer target type
../src/radix208_ditN_cy_dif1.c: In function ‘radix208_dit_pass1’:
../src/radix208_ditN_cy_dif1.c:1600: warning: assignment discards qualifiers from pointer target type
In file included from ../src/radix256_ditN_cy_dif1.c:1675:
../src/radix256_main_carry_loop.h: In function ‘radix256_ditN_cy_dif1’:
../src/radix256_main_carry_loop.h:307: warning: assignment discards qualifiers from pointer target type
../src/radix256_main_carry_loop.h:876: warning: assignment discards qualifiers from pointer target type
../src/radix512_ditN_cy_dif1.c: In function ‘radix512_dif_pass1’:
../src/radix512_ditN_cy_dif1.c:322: warning: assignment discards qualifiers from pointer target type
../src/radix512_ditN_cy_dif1.c: In function ‘radix512_dit_pass1’:
../src/radix512_ditN_cy_dif1.c:491: warning: assignment discards qualifiers from pointer target type
In file included from ../src/radix64_ditN_cy_dif1.c:1306:
../src/radix64_main_carry_loop.h: In function ‘radix64_ditN_cy_dif1’:
../src/radix64_main_carry_loop.h:218: warning: assignment discards qualifiers from pointer target type
../src/radix64_main_carry_loop.h:735: warning: assignment discards qualifiers from pointer target type
../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE’:
../src/twopmodq80.c:342: warning: right shift count >= width of type
../src/twopmodq80.c:342: warning: left shift count is negative
../src/twopmodq80.c:342: warning: right shift count >= width of type
../src/twopmodq80.c:342: warning: left shift count is negative
../src/twopmodq80.c:342: warning: right shift count >= width of type
../src/twopmodq80.c:342: warning: right shift count is negative
../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q2’:
../src/twopmodq80.c:811: warning: right shift count >= width of type
../src/twopmodq80.c:811: warning: left shift count is negative
../src/twopmodq80.c:811: warning: right shift count >= width of type
../src/twopmodq80.c:811: warning: left shift count is negative
../src/twopmodq80.c:811: warning: right shift count >= width of type
../src/twopmodq80.c:811: warning: right shift count is negative
../src/twopmodq80.c:812: warning: right shift count >= width of type
../src/twopmodq80.c:812: warning: left shift count is negative
../src/twopmodq80.c:812: warning: right shift count >= width of type
../src/twopmodq80.c:812: warning: left shift count is negative
../src/twopmodq80.c:812: warning: right shift count >= width of type
../src/twopmodq80.c:812: warning: right shift count is negative
../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q4’:
../src/twopmodq80.c:2210: warning: right shift count >= width of type
../src/twopmodq80.c:2210: warning: left shift count is negative
../src/twopmodq80.c:2210: warning: right shift count >= width of type
../src/twopmodq80.c:2210: warning: left shift count is negative
../src/twopmodq80.c:2210: warning: right shift count >= width of type
../src/twopmodq80.c:2210: warning: right shift count is negative
../src/twopmodq80.c:2211: warning: right shift count >= width of type
../src/twopmodq80.c:2211: warning: left shift count is negative
../src/twopmodq80.c:2211: warning: right shift count >= width of type
../src/twopmodq80.c:2211: warning: left shift count is negative
../src/twopmodq80.c:2211: warning: right shift count >= width of type
../src/twopmodq80.c:2211: warning: right shift count is negative
../src/twopmodq80.c:2212: warning: right shift count >= width of type
../src/twopmodq80.c:2212: warning: left shift count is negative
../src/twopmodq80.c:2212: warning: right shift count >= width of type
../src/twopmodq80.c:2212: warning: left shift count is negative
../src/twopmodq80.c:2212: warning: right shift count >= width of type
../src/twopmodq80.c:2212: warning: right shift count is negative
../src/twopmodq80.c:2213: warning: right shift count >= width of type
../src/twopmodq80.c:2213: warning: left shift count is negative
../src/twopmodq80.c:2213: warning: right shift count >= width of type
../src/twopmodq80.c:2213: warning: left shift count is negative
../src/twopmodq80.c:2213: warning: right shift count >= width of type
../src/twopmodq80.c:2213: warning: right shift count is negative
../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q4_REF’:
../src/twopmodq80.c:2954: warning: right shift count >= width of type
../src/twopmodq80.c:2954: warning: left shift count is negative
../src/twopmodq80.c:2954: warning: right shift count >= width of type
../src/twopmodq80.c:2954: warning: left shift count is negative
../src/twopmodq80.c:2954: warning: right shift count >= width of type
../src/twopmodq80.c:2954: warning: right shift count is negative
../src/twopmodq80.c:2955: warning: right shift count >= width of type
../src/twopmodq80.c:2955: warning: left shift count is negative
../src/twopmodq80.c:2955: warning: right shift count >= width of type
../src/twopmodq80.c:2955: warning: left shift count is negative
../src/twopmodq80.c:2955: warning: right shift count >= width of type
../src/twopmodq80.c:2955: warning: right shift count is negative
../src/twopmodq80.c:2956: warning: right shift count >= width of type
../src/twopmodq80.c:2956: warning: left shift count is negative
../src/twopmodq80.c:2956: warning: right shift count >= width of type
../src/twopmodq80.c:2956: warning: left shift count is negative
../src/twopmodq80.c:2956: warning: right shift count >= width of type
../src/twopmodq80.c:2956: warning: right shift count is negative
../src/twopmodq80.c:2957: warning: right shift count >= width of type
../src/twopmodq80.c:2957: warning: left shift count is negative
../src/twopmodq80.c:2957: warning: right shift count >= width of type
../src/twopmodq80.c:2957: warning: left shift count is negative
../src/twopmodq80.c:2957: warning: right shift count >= width of type
../src/twopmodq80.c:2957: warning: right shift count is negative
make[1]: *** [NORMAL_O.stamp] Error 1
make[1]: Leaving directory `/home/linux1/mlucas/mlucas-14.1/build'
make: *** [all] Error 2
chalsall is offline   Reply With Quote
Old 2016-02-05, 21:41   #15
Lorenzo
 
Lorenzo's Avatar
 
Aug 2010
Republic of Belarus

2×5×17 Posts
Default

I can help to build )) But i'm not familiar with C/C++
Lorenzo is offline   Reply With Quote
Old 2016-02-05, 22:31   #16
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

932510 Posts
Default

Quote:
Originally Posted by Lorenzo View Post
I can help to build )) But i'm not familiar with C/C++
We are still awaiting Ernst to speak.

Usually he is rather loud. His silence is notable.

Edit: Casts got your tongue?

Last fiddled with by chalsall on 2016-02-05 at 22:36
chalsall is offline   Reply With Quote
Old 2016-02-05, 23:11   #17
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

23·1,229 Posts
Default

There are two distinct issues here - [1] the basic code-build and [2] the automated Linux/x86-oriented build scripts - which should be tackled in turn. I'll let Alex focus on [2] since he developed the scripts.

As to [1], the OP mentions having 'tried' the pre-build-script-wrapped 14.1 release - what precisely was tried? The manual build instructions on the README page? Note that due to the non-x86 CPUs here we are stuck with the non-SIMD basic scalar-double C build. But it's still always useful to work through build and code issues on non-primary-target platforms, to make/keep the code as portable as reasonably possible.

So to the OP (or anyone else with access to this platform - I will look into a guest account over the weekend), try the most-basic manual build first: straight C, unthreaded - i.e. no USE_ flags of any kind in the compile command.

As for the threading-related preprocessor #error, if this platform supports pthreads it should be a simple matter of tweaking the platform.h header to look in the right place for the pthreads-related header files. Looking at the #error line Alex quoted in my platform.h file, it's clear the

#include <pthread.h>

is not finding the pthread.h file. Is there one in the /include tree on this platform?
ewmayer is offline   Reply With Quote
Old 2016-02-05, 23:35   #18
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

100100011011012 Posts
Default

Quote:
Originally Posted by ewmayer View Post
As to [1], the OP mentions having 'tried' the pre-build-script-wrapped 14.1 release - what precisely was tried?
What part of "../configure; make" isn't clear?
chalsall is offline   Reply With Quote
Old 2016-02-05, 23:41   #19
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

23·1,229 Posts
Default

Quote:
Originally Posted by chalsall View Post
What part of "../configure; make" isn't clear?
The part about the Mlucas_12.11.2014.tgz release not supporting that kind of auto-build, possibly.
ewmayer is offline   Reply With Quote
Old 2016-02-05, 23:46   #20
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

52·373 Posts
Default

Quote:
Originally Posted by ewmayer View Post
The part about the Mlucas_12.11.2014.tgz release not supporting that kind of auto-build, possibly.
You missed this:

Code:
linux1@i4l-2 build]$ pwd
/home/linux1/mlucas/mlucas-14.1/build
chalsall is offline   Reply With Quote
Old 2016-02-06, 01:18   #21
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

23·1,229 Posts
Default

Quote:
Originally Posted by chalsall View Post
You missed this:

Code:
linux1@i4l-2 build]$ pwd
/home/linux1/mlucas/mlucas-14.1/build
I was referring to the 'and' part of the OP's second sentence:
Tried compile MLucas (mlucas-14.1.tar.gz and Mlucas_12.11.2014.tgz)
ewmayer is offline   Reply With Quote
Old 2016-02-06, 03:12   #22
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100011110001102 Posts
Cool

How about this (in get_fft_radices.c, lines 1443-1446):
Code:
                case 7 :
                        numrad = 6; rvec[0] = 16; rvec[1] =  8; rvec[2] =  8; rvec[3] =  8; rvec[4] =  8; rvec[5] = 16; break;
          #ifndef USE_ONLY_LARGE_LEAD_RADICES
                case 7 :
                        numrad = 5; rvec[0] =  8; rvec[1] = 16; rvec[2] = 16; rvec[3] = 32; rvec[4] = 16; break;

[linux1@rhel7-3 build]$ gcc -Os ../src/get_fft_radices.c
../src/get_fft_radices.c: In function ‘get_fft_radices’:
../src/get_fft_radices.c:1446:3: error: duplicate case value
   case 7 :
   ^
../src/get_fft_radices.c:1443:3: error: previously used here
   case 7 :
   ^
Their gcc compiler is a bit stricter than on x86_64 (I've built it before -- no problems were reported, only warnings).

A bit later (in TRICKY section)
Code:
../src/util.c: In function ‘print_host_info’:
../src/util.c:1071:106: error: ‘OS_BITS’ undeclared (first use in this function)
so add -DOS_BITS=64 to the compiler line.

After polishing these two little blemishes, runs like a clock.
Batalov is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mlucas and mprime on the same box daxmick Software 5 2018-01-05 09:48
Mlucas on ubuntu Damian Mlucas 17 2017-11-13 18:12
Mlucas version 17 ewmayer Mlucas 3 2017-06-17 11:18
Mlucas on Sparc - Unregistered Mlucas 0 2009-10-27 20:35
mlucas on sun delta_t Mlucas 14 2007-10-04 05:45

All times are UTC. The time now is 03:47.

Fri Nov 27 03:47:01 UTC 2020 up 78 days, 57 mins, 4 users, load averages: 1.00, 1.48, 1.54

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.