Re: [AMBER] Ubuntu 20.4 make install error? "Error: bad value (‘tigerlake’) for ‘-mtune=’ switch"

From: Daniel Roe <daniel.r.roe.gmail.com>
Date: Sat, 9 Apr 2022 17:07:34 -0400

Hi,

This is a known issue with the gnu version 9 compilers. The workaround is
to specify ‘-DSSE=FALSE’ to cmake.

Hope this helps,

-Dan

On Sat, Apr 9, 2022 at 4:04 PM Matthew Noto <notomatthew31.gmail.com> wrote:

> Greetings,
>
> I am a HS student performing research and am trying to install Amber on an
> UBUNTU PC with an Intel I7 Processor and Nvidia RTX3060 GPU and am
> receiving the following error when running "make install."
>
> <pre>[ 4%] <font color="#4E9A06">Building Fortran object
>
> AmberTools/src/netcdf-fortran-4.4.4/fortran/CMakeFiles/netcdff.dir/module_netcdf_nc_data.F90.o</font>
> <b>f951:</b> *<font color="#CC0000"><b>Error:</b></font> bad value
> (‘<b>tigerlake</b>’) for ‘<b>-mtune=</b>’ switch*
> <b>f951:</b> <font color="#06989A"><b>note:</b></font> valid arguments to
> ‘<b>-mtune=</b>’ switch are: nocona core2 nehalem corei7 westmere
> sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell
> skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake
> bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel
> x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4
> k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10
> barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic
> native
> make[2]: ***
>
> [AmberTools/src/netcdf-fortran-4.4.4/fortran/CMakeFiles/netcdff.dir/build.make:76:
>
> AmberTools/src/netcdf-fortran-4.4.4/fortran/CMakeFiles/netcdff.dir/module_netcdf_nc_data.F90.o]
> Error 1
> make[1]: *** [CMakeFiles/Makefile2:3446:
> AmberTools/src/netcdf-fortran-4.4.4/fortran/CMakeFiles/netcdff.dir/all]
> Error 2
> make: *** [Makefile:152: all] Error 2
> </pre>
>
> Here is a snippet of the cmake output showing the features enabled and the
> compiler versions. I updated the compilers to see if that would yield
> different results but unfortunately ended up with the same errors.
>
> -- Features:
> -- MPI: OFF
> -- OpenMP: OFF
> -- CUDA: ON
> -- NCCL: OFF
> -- Build Shared Libraries: ON
> -- Build GUI Interfaces: ON
> -- Build Python Programs: ON
> -- -Python Interpreter: Internal Miniconda (version 3.9)
> -- Build Perl Programs: ON
> -- Build configuration: RELEASE
> -- Target Processor: x86_64
> -- Build Documentation: OFF
> -- Sander Variants: normal LES API LES-API
> -- Install location: /home/matt/amber20/
> -- Installation of Tests: ON
>
> -- Compilers:
> -- C: GNU 10.3.0 (/usr/bin/gcc)
> -- CXX: GNU 8.4.0 (/usr/bin/g++)
> -- Fortran: GNU 9.3.0 (/usr/bin/gfortran)
>
> Appreciate your help and guidance on resolving this issue.
>
> Regards,
>
> Matthew Noto
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sat Apr 09 2022 - 14:30:03 PDT
Custom Search