Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Conversation

pramodk
Copy link
Collaborator

@pramodk pramodk commented Jan 4, 2022

Description

  • Clang compiler flags were not added
  • Because of this, no flags were set for RelWithDebInfo or
    any other build types
  • Update tqperf test script for Jenkins CI
    • update tqperf GitHub URL
    • mod files are now into two directories, need to use mod + modx

How to test this?

module load unstable gcc llvm cmake python 
cmake ..

-- Configured CoreNEURON 1.0
--
-- You can now build CoreNEURON using:
--   cmake --build . --parallel 8 [--target TARGET]
-- You might want to adjust the number of parallel build jobs for your system.
-- Some non-default targets you might want to build:
-- --------------------+--------------------------------------------------------
--  Target             |   Description
-- --------------------+--------------------------------------------------------
-- install             | Will install CoreNEURON to: /usr/local
-- docs                | Build full docs. Calls targets: doxygen, sphinx
-- --------------------+--------------------------------------------------------
--  Build option       | Status
-- --------------------+--------------------------------------------------------
-- CXX COMPILER        | /gpfs/bbp.cscs.ch/ssd/apps/bsd/2021-11/stage_externals/install_gcc-11.2.0-skylake/llvm-13.0.0-lvcrm6/bin/clang++
-- COMPILE FLAGS       |  -fopenmp=libomp   -g  -O2 -std=c++14

Previously -g -O2 were not added.

Test System

  • System: BB5
  • Compiler: LLVM
  • Backend: CPU

 - Clang compiler flags were not added
 - Because of this, no flags were set for RelWithDebInfo or
   any other build types
@olupton
Copy link
Contributor

olupton commented Jan 5, 2022

@pramodk pramodk closed this Jan 5, 2022
@pramodk pramodk reopened this Jan 5, 2022
@olupton olupton merged commit ba85c4c into master Jan 6, 2022
@olupton olupton deleted the pramodk/clang-flags branch January 6, 2022 08:46
pramodk added a commit to neuronsimulator/nrn that referenced this pull request Nov 2, 2022
…/CoreNeuron#734)

* Set compilation flags for different build types with Clang:
 - Clang compiler flags were not added.
 - Because of this, no flags were set for RelWithDebInfo or
   any other build types.
* Update tqperf test:
 - Change repository URL.
 - Copy mod files into single directory.
 - Pass extra linker flags.

Co-authored-by: Olli Lupton <[email protected]>

CoreNEURON Repo SHA: BlueBrain/CoreNeuron@ba85c4c
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants