Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

examples for new yaml structure #17

Closed
shahzebsiddiqui opened this issue Jan 3, 2020 · 4 comments
Closed

examples for new yaml structure #17

shahzebsiddiqui opened this issue Jan 3, 2020 · 4 comments

Comments

@shahzebsiddiqui
Copy link
Member

OpenMP example using gnu and intel

Description: This test should compile hello.c with gnu and intel compiler using OMP_NUM_THREADS=2

source: hello.c
scheduler: local
compile: yes
matrix: 
  env:
    - OMP_NUM_THREADS=2
  compilers:
   - gnu
   - intel
  cflags:
    gnu:
      - "-O2 -fopenmp"
    intel:
      - "-O2 -fopenmp"

pre_build:
  - echo "pre build commands"
  - time

post_build:
  - echo "post build command"
  - time  

Multiple Compilation Flags with gnu and intel compiler
Description: hello.c will be compiled with gnu and intel compiler with two combination for cflags for gnu and intel totaling 4 compilations

source: hello.c
compile: yes
matrix:
  compiler:
    - gnu
    - intel
  cflags:
    gnu:
      - "-O2 --fast"
      - "-O3"
   intel:
     - "-O2 --fma"
     - "-O1 -g"

Test without a build
Description: This test is just running shell commands without any compilation

compile: no
pre_run:
  - time
run:
  - mpirun -np 2 osu_gather
post_run:
  - time
@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@vsoch
Copy link
Collaborator

vsoch commented Mar 15, 2020

@shahzebsiddiqui I'm going to transfer this to schemas repository.

@vsoch vsoch transferred this issue from buildtesters/buildtest Mar 15, 2020
@shahzebsiddiqui
Copy link
Member Author

makes sense @vsoch

@shahzebsiddiqui
Copy link
Member Author

@vsoch any of these examples worth keeping around for an issue, i think some of these were discussed in compiler schema. Trying to see which issues to work and ones that we can close.

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