Code Monkey home page Code Monkey logo

Comments (7)

AlexanderRichert-NOAA avatar AlexanderRichert-NOAA commented on September 15, 2024 1

I think it makes sense to remove them, then we can always set flags through spack-stack (incl. by system).

from nceplibs-grib_util.

edwardhartnett avatar edwardhartnett commented on September 15, 2024

I cannot find any such flags. Have they been removed or am I missing something?

from nceplibs-grib_util.

edwardhartnett avatar edwardhartnett commented on September 15, 2024

But it is used a lot in the CMakeLists.txt files:

find . -name '*'|xargs grep -s axCORE
./tocgrib2/CMakeLists.txt:  set(CMAKE_Fortran_FLAGS "-g -axCORE-AVX2 ${CMAKE_Fortran_FLAGS}")
./tocgrib/CMakeLists.txt:  set(CMAKE_Fortran_FLAGS "-g -assume noold_ldout_format -axCORE-AVX2 ${CMAKE_Fortran_FLAGS}")
./tocgrib2super/CMakeLists.txt:  set(CMAKE_Fortran_FLAGS "-g -assume noold_ldout_format -axCORE-AVX2 ${CMAKE_Fortran_FLAGS}")
./degrib2/CMakeLists.txt:  set(CMAKE_Fortran_FLAGS "-g -convert big_endian -axCORE-AVX2 -fpp ${CMAKE_Fortran_FLAGS}")
./grb2index/CMakeLists.txt:  set(CMAKE_Fortran_FLAGS "-g -convert big_endian -axCORE-AVX2 -fpp ${CMAKE_Fortran_FLAGS}")
./grbindex/CMakeLists.txt:      "-g -assume noold_ldout_format -convert big_endian -axCORE-AVX2 -fpp ${CMAKE_Fortran_FLAGS}")
./grib2grib/CMakeLists.txt:      "-g -i8 -r8 -assume noold_ldout_format -axCORE-AVX2 -fpp ${CMAKE_Fortran_FLAGS}")

from nceplibs-grib_util.

edwardhartnett avatar edwardhartnett commented on September 15, 2024

@GeorgeVandenberghe-NOAA @Hang-Lei-NOAA @AlexanderRichert-NOAA what do you think about this issue?

We can just take these out, as @kgerheiser advised. I believe this will make no difference in output, and the tests will confirm that, but the test coverage is not great right now.

from nceplibs-grib_util.

Hang-Lei-NOAA avatar Hang-Lei-NOAA commented on September 15, 2024

We can try this change to see if it works for all models.

from nceplibs-grib_util.

edwardhartnett avatar edwardhartnett commented on September 15, 2024

OK, let's do the next release, then take them out. That will give us some testing time without them.

from nceplibs-grib_util.

edwardhartnett avatar edwardhartnett commented on September 15, 2024

@AlexanderRichert-NOAA do you have any thoughts on this? I am planning on taking out these vector flags for the next release...

from nceplibs-grib_util.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.