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

Error: File name too long #64

Open
naromero77 opened this issue Jan 28, 2024 · 0 comments
Open

Error: File name too long #64

naromero77 opened this issue Jan 28, 2024 · 0 comments

Comments

@naromero77
Copy link

Again, thank you for creating this wonderful tool.

I am try to run perftool in the default profile analysis mode. I know this code well and it should be memory bound. In particular, it should be bound by the bandwidth at the LLC.

Here is the script that I set-up.

#!/usr/bin/bash
bin=$HOME/miniAMR/ref/miniAMR.mpi.x.icelake
args='--num_refine 4 --max_blocks 1000 --npx 2 --npy 2 --npz 2 --nx 8 --ny 8 --nz 8 --num_objects 1 --object 2 0 -1.71 -1.71 -1.71 0.04 0.04 0.04 1.7 1.7 1.7 0.0 0.0 0.0 --num_tsteps 100 --checksum_freq 1 --report_perf 1'

spack load mpich target=icelake

perf_do=$HOME/perf-tools/do.py
${perf_do} profile -a "mpirun -np 8 ${bin} ${args}" --tune :calibrate:1 --perf $HOME/perf-tools/linux-5.15.111/tools/perf/perf

It appears to get through the first level of analaysis, but then runs into a ERROR:

[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 19.920 MB mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data (25787 samples) ]
Try '/sal/home/n.a.romero/perf-tools/linux-5.15.111/tools/perf/perf report  -i mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data --branch-history --samples 9' to browse streams
        stats
# Branch Statistics:
#
COND_FWD:  13.9%
COND_BWD:  55.3%
    COND:  69.2%
  UNCOND:   5.2%
     IND:   6.1%
    CALL:   9.1%
IND_CALL:   0.6%
     RET:   9.7%
        processing 25787 samples
        processing taken branches
bash: line 1: mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data.mispreds.log: File name too long
bash: line 1: mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data.indirects.log: File name too long
bash: line 1: mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data.misp_tk_conds.log: File name too long
/bin/bash: line 1: mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data.indirects.log: File name too long
ERROR: Command "printf 'Count of unique non-cold indirect branches: ' >> mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data.info.log && wc -l < mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data.indirects.log >> mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data.info.log 2>&1 | tee -a mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--out.txt" failed with '1' !
tail mpirun-np-8-salhomenaromerominiAMRrefminiAMRmpixicelake-num_refine-4-max_blocks-1000-npx-2-npy-2-npz-2-nx-8-ny-8-nz-8-num_objects-1-object-2-0-171-171-171-004-004-004-17-17-17-00-00-00-num_tsteps-100--janysave_type-er20c4ppp-c7000000.perf.data.info.log
 1,908,890,913,043      instructions              #    0.83  insn per cycle           ( +-  3.15% )
 2,281,024,578,560      cycles                    #    3.452 GHz                      ( +-  0.58% )
   333,441,800,181      branches                  #  504.546 M/sec                    ( +-  3.25% )
       210,631,071      branch-misses             #    0.06% of all branches          ( +-  1.78% )
    18,021,708,631      cycles:k                  #    0.027 GHz                      ( +-  1.75% )
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

1 participant