Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I pre-created a disk file of 1000 MiB using the "createdisks.stxxl.bin" utility provided by STXXL. However, whenever I run an application that uses STXXL, it reallocates new space on disk. Is there anything I should add to my .stxxl or Makefile files to indicate that they should use the pre-allocated space? Thanks
Did you add the precreated file to your .stxxl as described in
http://algo2.iti.kit.edu/stxxl/tags/1.3.1/installation_linux_gcc.html under "Disk configuration file"?
The .stxxl needs to be in the directory where the application gets executed.
I think I did. I'm running under Mac OS X Lion. I first ran the following command
./createdisks.stxxl.bin 1000 disk0
in the stxxl/utils directory
My .stxxl config file contains the following:
I'm not really sure if this is correct. Any help would be greatly appreciated
Your disk file resides in the stxxl/utils directory
If you put the .stxxl elsewhere or run your application from a different location, this file won't be found.
It's recommended to use absolute paths to the disk files (especially if you have dedicated disks for this)
If your application uses more than 1 GB of disk space, it will grow the file automatically.