Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

proforder: ERROR: couldn't open spi file './pgopti.spi'

hnaparst
Beginner
599 Views
This is the first time I'm trying to use profmerge and proforder,
so bear with me, please.

My sources and object files are scattered over many directories,
however the .dyn files are in only two directories.

I tried to merge the dyn files into one dpi file like this:

cd dir1
profmerge *.dyn
profmerge dir2/*.dyn
profmerge -a ./pgopti.dpi dir2/pgopti.dpi (overwrites ./pgopti.dpi)

proforder -prof_dir .

Then I get the error "could not open spi file pgopti.spi"

However, it doesn't appear that there ever was a .spi file anywhere?
Any ideas?
0 Kudos
2 Replies
Maximillia_D_Intel
599 Views
Hi,
Did you use -prof_gen or -prof_genx. The creation of an .spi file requires the use of -prof_genx.
Max
0 Kudos
hnaparst
Beginner
599 Views
Hi,
Thanks for the quick reply!!

I used prof_gen, not prof_genx. Believe it or not, I did
read the docs carefully. There was some obscure comment
about how using prof_gen wouldn't help on Linux, and you
should use prof_genx, but nothing about .spi files anywhere.

What are spi files? What is the difference between prof_gen
and prof_genx? And most importantly, what should I do
with my dyn files scattered in two directories in order to
use proforder correctly?

Thanks!!
0 Kudos
Reply