[sac-user] SAC2C: Cache Simulation

Stephan Herhut s.a.herhut at herts.ac.uk
Thu Apr 5 10:23:24 BST 2007


I think the cache simulator is Clemens' toy?

---------- Forwarded message ----------
From: shaoshal at uci.edu <shaoshal at uci.edu>
Date: Apr 5, 2007 5:45 AM
Subject: SAC2C: Cache Simulation
To: Stephan Herhut <s.a.herhut at herts.ac.uk>


Hi, dear Stephan,

   It is Shaoshan Liu from UC Irvine again.  In the sac2c package, there
is a cache simulator, but there is only limited information about this
simulator.  I just wonder about what approach you use for this
simulator, can I [as a user] modify the simulator to test some
architectual ideas?  If so, how do I proceed?  Also, where can I get
more information about this simulator? Is there any publication on this
simulator?

Thank you very much!

Shaoshan Liu


> Hi,
>
> by looking at the error messages you have sent, I got the suspicion
> that you are still using the old sac2c binary. If you type
>
> sac2c -V
>
> in a shell, it should say sac2c-1.00 beta and not sac2c 0.9x. Make
> sure that you remove the old installation of sac2c from your path
> first. Alternatively
>
> export PATH=$SAC2CBASE/bin:$PATH
>
> will make sure that always the new sac2c is picked first.
>
> Please let me know whether this resolved your problem.
>
> Cheers
>   Stephan
>
> On 3/31/07, shaoshal at uci.edu <shaoshal at uci.edu> wrote:
>> Hi, dear SAC developer,
>>
>>    This is Shaoshan Liu from U.C Irvine in USA. I am currently trying to
>> use SAC for my research project and downloaded the binary preview
>> release on my fedora-linux-i686 machine.  I followed the README file to
>> set the PATH as well as SACBASE and SAC2CBASE.  However, the
>> compilation failed and returned the following messages:
>>
>> "
>> make: *** [.TermFile.d] Error 1
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .ArrayIO.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .BinFile.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .ComplexIO.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .Dislin.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .FibreIO.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .File.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .IOresources.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .ListIO.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .ScalarIO.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .StdIO.d: No such file or directory
>> /workspace/shaoshal/sac2c-1.00-beta-linux-i686/stdlib/Makefiles/Makefile.standard:254:
>> .TermFile.d: No such file or directory
>> sac2c -Mlib -v0 -O3 -check tb TermFile.sac  > .TermFile.d
>> SYSTEM::ERROR: Illegal flag in argument for option: sac2c -check tb !
>>
>> *** Compilation failed ***
>> *** Exit code 1 (Setting up sac2c compiler environment)
>> *** 1 Error(s), 0 Warning(s)
>> "
>>
>>   To deal with this problem, I tried to use the sac2c binary executable
>> in
>> /bin, and it returns:
>>
>> "SYSTEM::ERROR: Unable to open public sac2crc file.
>>        :ERROR: Probably, your installation is corrupted. !
>>
>> *** Compilation failed ***
>> *** Exit code 1 (Setting up sac2c compiler environment)
>> *** 1 Error(s), 0 Warning(s)
>> "
>>
>>    Do you have any suggestions about how to approach this problem?
>>
>> Thank you very much!
>>
>> Shaoshan Liu
>> _______________________________________________
>> sac-devel mailing list
>> sac-devel at sac-home.org
>> http://lists.sac-home.org/listinfo/sac-devel
>>
>
>
> --
> Stephan Herhut
> Centre for Computer Science and Informatics Research
> University of Hertfordshire
>




-- 
Stephan Herhut
Centre for Computer Science and Informatics Research
University of Hertfordshire



More information about the sac-user mailing list