Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

record_ert fails trying to copy roofline_config_template #1

Open
derekbruening opened this issue May 10, 2021 · 1 comment
Open

record_ert fails trying to copy roofline_config_template #1

derekbruening opened this issue May 10, 2021 · 1 comment

Comments

@derekbruening
Copy link

The roofline.py script assumes a file named roofline_config_template exists in ert/Empirical_Roofline_Tool-1.1.0 but it does not:

$ git clone https://github.com/arm-hpc/roofline.git
$ cd roofline/
$ make
$ ./roofline.py record_ert --precision FP64
Running ERT for gathering a roofline for precision FP64
Traceback (most recent call last):
  File "./roofline.py", line 694, in <module>
    sys.exit(main())
  File "./roofline.py", line 690, in main
    args.func(args)
  File "./roofline.py", line 508, in record_ert
    copyfile("roofline_config_template", "roofline_config")
  File "/usr/lib/python3.5/shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'roofline_config_template'

Looking at the git history of the ert code: I don't see that any file by that name ever existed?
Trying to copy an existing file like ert/Empirical_Roofline_Tool-1.1.0/Config/config.babbage.nersc.gov.01: these have specific MPI or OpenMP specifications with specific compiler flags. Does the user need to hand-construct a file listing the right flags to get, say, gcc to generate the right AVX-512 or AVX-2 instructions for the underlying processor?

@nanxia1985
Copy link

I got the same question...

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

No branches or pull requests

2 participants