Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

building for aarch64? - *failed* for ADCL #4

Open
torehl opened this issue Jun 3, 2021 · 1 comment
Open

building for aarch64? - *failed* for ADCL #4

torehl opened this issue Jun 3, 2021 · 1 comment

Comments

@torehl
Copy link

torehl commented Jun 3, 2021

Hi,
does it build on aarch64 (arm64) systems?

torel@n005:/workspace/otpo/otpo-1.0/build-aarch64$ sudo mkdir -p /cm/shared/apps/otpo/1.0
[sudo] password for torel:
torel@n005:
/workspace/otpo/otpo-1.0/build-aarch64$ ls
torel@n005:~/workspace/otpo/otpo-1.0/build-aarch64$ ../configure --prefix=/cm/shared/apps/otpo/1.0 --enable-dependency-tracking
Configuring OTPO
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 otpo version... 1.0.1a1-1
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for mpicc... no
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... gcc3
checking for ranlib... ranlib
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 mpi.h usability... no
checking mpi.h presence... no
checking for mpi.h... no
checking for MPI_Initialized... no
checking for ADCL main directory... /home/torel/workspace/otpo/otpo-1.0/build-aarch64/ADCL
checking for ADCL lib directory... /home/torel/workspace/otpo/otpo-1.0/build-aarch64/ADCL/lib
checking for ADCL library name... libadcl.a
checking for subdir args... '--prefix=/cm/shared/apps/otpo/1.0' '--enable-dependency-tracking'
configure: OTPO configuring in ADCL
configure: running /bin/bash '../../ADCL/configure' '--prefix=/cm/shared/apps/otpo/1.0' '--enable-dependency-tracking' --with-num-tests=1 --enable-printf-tofile --enable-userlevel-timings --enable-dummy-mpi --disable-fortran --cache-file=/dev/null --srcdir=../../ADCL
checking build system type... ../../ADCL/config.guess: unable to guess system type

This script, last modified 2005-02-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (../../ADCL/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to [email protected] in order to provide the needed
information to handle your system.

config.guess timestamp = 2005-02-10

uname -m = aarch64
uname -r = 4.15.0-143-generic
uname -s = Linux
uname -v = #147-Ubuntu SMP Wed Apr 14 16:10:28 UTC 2021

/usr/bin/uname -p =
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch =
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 4.15.0-143-generic
UNAME_SYSTEM = Linux
UNAME_VERSION = #147-Ubuntu SMP Wed Apr 14 16:10:28 UTC 2021
configure: error: cannot guess build type; you must specify one
configure: /bin/bash '../../ADCL/configure' failed for ADCL
checking if we want MPI_LEAVE_PINNED... yes
checking if we want MPI_PAFFINITY_ALONE... yes
checking ADCL.h usability... no
checking ADCL.h presence... no
checking for ADCL.h... no
checking for ADCL_Init... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating otpo_config.h
config.status: executing depfiles commands
torel@n005:~/workspace/otpo/otpo-1.0/build-aarch64$

@edgargabriel
Copy link
Member

sorry, we never tested it on ARM systems, We can look into that, but it might take a while, the ADCL project which is used by OTPO has not been updated since 2016 or so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants